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 a 386 or higher processer. They produce code that should run on any StrongARM target. They have been tested on RedHat 6.1/7.1. VERSIONS -------- binutils-2.11.2 gcc-2.95.3 glibc-2.2.3 w/ linuxthreads linux-2.4.6-rmk2-np1 INSTALLING ---------- All of these tools are installed in /usr/local/arm-linux. If you have old versions of the tools installed, you will need to uninstall them before installing the new ones. To see if any are installed, use the following command: rpm -qa | grep arm-linux To remove old tools, use the following commands: rpm -e arm-linux-gcc rpm -e arm-linux-glibc rpm -e arm-linux-kernel-src rpm -e arm-linux-binutils There may be some unneeded files left behind after the packages are removed. To completely remove any remaining files from the old tools, type: rm -rf /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.11.2-2.i386.rpm rpm -i arm-linux-glibc-2.2.3-2.i386.rpm rpm -i arm-linux-gcc-2.95.3-2.i386.rpm To add the patched linux source tree, use the following command: rpm -i arm-linux-kernel-src-2.4.7.rmk2.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.3-2.i386.rpm) is just used as part of the toolchain build process. You do not need it and should probably delete it.