This directory contains RPM's and SRPM's for a GNU cross toolchain consisting of gcc, glibc, and binutils, as well as a linux source tree pre-patched and configured using Nicholas Pitre's patches to run on an SA1110 Development Board (Assabet). The binary RPM's are built to run on an 386 or higher processer. They produce code that should run on any StrongARM target. VERSIONS -------- binutils-2.10 gcc-2.95.2 glibc-2.1.3 glibc-linuxthreads-2.1.3 glibc-crypt-2.1 linux-2.4.0-test5-rmk1-np1 INSTALLING ---------- All of these utilities are installed in /usr/local/arm-linux. To install the binutils, gcc, and glibc (which is the minimum development environment), use the following commands: rpm -i arm-linux-binutils-2.10-1.i386.rpm rpm -i arm-linux-glibc-2.1.3-2.i386.rpm rpm -i arm-linux-gcc-2.95.2-2.i386.rpm To add the patched linux source tree, use the following command: rpm -i arm-linux-kernel-src-2.4.0.test5.rmk1.np1-1.i386.rpm RUNNING ------- Before running any of these binaries, you need to add the directory that they are installed into (/usr/local/arm-linux/bin) to your path. If you type: PATH=/usr/local/arm-linux/bin:$PATH at a bash prompt, that directory will be added to your path until you log out. All binaries have the normal GNU names, except they are prepended with "arm-linux-". For example, the compiler is called arm-linux-gcc. BUILDING -------- NOTE: These steps are only neccessary if you wish to rebuild the utilities from their sources. They simply reproduce the included binary RPM's that most people should be installing directly. First install all of the included source RPM's: rpm -i SRPMS/*.rpm Go to where they're installed: cd /usr/src/redhat Build/install them in the correct order with the following commands: rpm -ba SPECS/arm-linux-binutils.spec rpm -ba SPECS/arm-linux-kernel-src.spec rpm -ba SPECS/arm-linux-gcc-preglibc.spec rpm -ba SPECS/arm-linux-glibc.spec rpm -ba SPECS/arm-linux-gcc.spec NOTE: One of the RPM's that this will produce (arm-linux-gcc-preglibc-2.95.2.i386.rpm) is just used as part of the toolchain build process. You do not need it and should probably delete it.