Intel I/O Processor manual Cross Toolchain—Linux- Debian

Models: I/O Processor

1 22
Download 22 pages 21 Kb
Page 13
Image 13
Cross Toolchain—Linux - Debian

 

Cross Toolchain—Linux - Debian

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.datfile to change the following line: TARGET=arm-xscale-linux-gnu

To TARGET=armv5l-linux

2.Edit the demo-arm-xscale.shto 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-xscale.shscript needs to be run. Next, add the /opt/ crosstool/bin (or the path where the tools were built) to your PATH variable.

Linux-Debian Installation Guide

Intel® I/O Processors

June 2005

 

Order Number: 306507001US

13

Page 13
Image 13
Intel I/O Processor manual Cross Toolchain—Linux- Debian