/* Building cross compiler for Xscale platform(iPAQ H3975) - Installation Log *//* Author - Adinarayanan Venkatachalam (avenkat2@unity.ncsu.edu)*/ /* Use at your own risk */ 1) Get the latest stable versions of binutils, gcc and glibc from ftp.gnu.org/pub/gnu In my case these are: binutils-2.13.1.tar.gz gcc-3.2.tar.gz glibc-2.3.1.tar.gz 2) Gunzip and untar them to your src/ directory. In my case : cd /root/ipaq/src tar zxvf 3) Create your build directory. mkdir /root/ipaq/build cd /root/ipaq/build mkdir binutils-2.13.1 gcc-3.2 glibc-2.3.1 4) Choose your --prefix, --target and --host and configure binutils. cd binutils-2.13.1 /root/ipaq/src/binutils-2.13.1/configure --target=xscale-*-elf --prefix=/root/ipaq/local --host=i386 make make install 5) Build GCC - first pass. cd /root/ipaq/build/gcc-3.2/ /root/ipaq/src/gcc-3.2/configure --target=xscale-*-elf --host=i386-pc-linux-gnu --prefix=/root/ipaq/local --disable-threads --with-cpu=xscale --enable-languages=c make make install 6) Building glibc: cd /root/ipaq/build/glibc-2.3.1/ /root/ipaq/src/glibc-2.3.1/configure arm-linux --build=i386-pc-linux-gnu --prefix=/root/ipaq/local/arm-linux --enable-add-ons=linuxthreads make make install 7) GCC second pass: cd /root/ipaq/build/gcc-3.2/ /root/ipaq/src/gcc-3.2/configure --target=xscale-*-elf --host=i386-pc-linux-gnu --prefix=/root/ipaq/local --with-cpu=xscale --enable-languages=c make make install