[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building cross-compiler packages



Hello.

At last I've created a patch (see the attachment) for gcc-3.3 source 
package (3.3.3ds2-0pre2) that builds C and C++ cross-compilers and support 
libraries that integrate well with dpkg-cross.

It is still not perfect, but seems to work.
Both C and C++ binaries created by the cross-compiles do work on my IPAQ.
However, I've tested arm architecture only. 

To do any futher work with the package, I need some feedback.
Please CC any reply to yoush@cs.msu.su, I am not on debian-gcc or 
debian-embedded lists

nikita@bliss:~/toolchain/gcc> dpkg-source -x gcc-3.3_3.3.3ds2-0pre2.dsc
dpkg-source: extracting gcc-3.3 in gcc-3.3-3.3.3ds2
nikita@bliss:~/toolchain/gcc> cd gcc-3.3-3.3.3ds2
nikita@bliss:~/toolchain/gcc/gcc-3.3-3.3.3ds2> patch -p1 < ../DIFF
...
nikita@bliss:~/toolchain/gcc/gcc-3.3-3.3.3ds2> export GCC_TARGET=arm
nikita@bliss:~/toolchain/gcc/gcc-3.3-3.3.3ds2> fakeroot debian/rules binary
...
nikita@bliss:~/toolchain/gcc/gcc-3.3-3.3.3ds2> ls ../*.deb
../g++-3.3-arm-linux_3.3.3-0pre2_i386.deb
../gcc-3.3-arm-linux_3.3.3-0pre2_i386.deb
../libgcc1-arm-cross_3.3.3-0pre2_all.deb
../libstdc++5-3.3-dbg-arm-cross_3.3.3-0pre2_all.deb
../libstdc++5-3.3-dev-arm-cross_3.3.3-0pre2_all.deb
../libstdc++5-3.3-pic-arm-cross_3.3.3-0pre2_all.deb
../libstdc++5-arm-cross_3.3.3-0pre2_all.deb

Attachment: DIFF.bz2
Description: BZip2 compressed data


Reply to: