Building a cross compiler for ARM
To get a working toolchain for producing ARM code:
Building binutils:
rm -rf /var/tmp/portage/binutils-* ebuild ${equery which binutils} unpack cd /var/tmp/portage/binutils-*/work/binutils-* ./configure --prefix=/home/armuser/tools --target=arm-wince-pe make all make install
Compiling GCC
export PATH=$PATH:/home/armuser/tools/bin mkdir build cd build ../configure --prefix=/home/julien/arm/tools --target=arm-wince-pe --without-headers --with-gnu-as --with-gnu-ld --with-local-prefix=/home/julien/arm/tools/arm-wince-pe --disable-shared --enable-languages=c,c++ make all-gcc make install-gcc
Leave a Comment