Intel I/O Processor Computer Hardware User Manual


 
Cross Toolchain—Linux - Debian
Linux-Debian Installation Guide Intel
®
I/O Processors June 2005
Order Number: 306507001US 13
Cross Toolchain 4
The next step in building a Linux system for running on Intel XScale
®
microarchitecture is to
generate a cross-toolchain for building the kernel and applications from the IA Linux host.
Currently, we use a toolchain built using the crosstool build scripts (http://kegel.com/crosstool
).
We currently build for the armv5l-linux target.
After the latest version of the script is downloaded a couple changes need to be made:
1. Edit the arm-xscale.dat file to change the following line:
TARGET=arm-xscale-linux-gnu
To
TARGET=armv5l-linux
2. Edit the demo-arm-xsca le.sh to select which versions of gcc and glibc are to be used.
Comment out or remove all of the statements starting with "eval `cat" and replace them with
the following statement:
eval `cat arm-xscale.dat gcc-3.4.3-glibc-2.3.5.dat` sh all.sh --notest
Change the RESULTS_TOP variable to the directory where the tools are to be installed (the default
is "/opt/crosstool")
After the changes are made the demo-arm-x scale.sh script needs to be run. Next, add the /opt/
crosstool/bin (or the path where the tools were built) to your PATH variable.