
| |
LARTware - Compiler tools
C/C++ cross-compiler for ArmLinux
If you have problems building your own cross-compiler for ArmLinux,
you can download a tarball with a precompiled C/C++ cross-compiler
from this page. The compiler was built using
Chris
Rutter's description.
This compiler was built on an i386 Debian
GNU/Linux 2.1 system, which uses glibc-2.0.7. It works for us, YMMV.
Source files
The following sources were used to build this cross-compiler:
Links marked with a * have mirrors worldwide. Please use them.
Download
Get your copy of the cross-compiler here:
| arm-linux-cross.tar.bz2 | 14 Feb 2000 00:06:15 | 20,206,893 bytes |
i386-linux to arm-linux C/C++ cross compiler binary tarball. Note that
clicking the link will get you a 19 megabyte file! (tar, bz2). If
you find yourself at the wrong end of a slow link, Netscape may abort
the transfer halfway through. If this happens to you, use GNU wget
(see the link on this page).
|
|
| arm-linux-cross-3.0.tar.bz2 | 12 Apr 2001 23:42:19 | 33,630,431 bytes |
Tarball with the beta gcc-3.0 i386-linux to arm-linux C/C++ cross compiler.
Note: this file is here just for people who want to try gcc-3.0 on
ARM. Gcc-3.0 is beta software! If it breaks don't say that we
didn't warn you. Use arm-linux-crosss.tar.bz2 if you want a stable compiler.
Note that
clicking the link will get you a 32 megabyte file! (tar, bz2). If
you find yourself at the wrong end of a slow link, Netscape may abort
the transfer halfway through. If this happens to you, use GNU wget
(see the link on this page).
|
|
|
If you have problems downloading the complete 19 megabyte, use a download
tool that supports continue mode on http connections.
GNU wget can do the trick.
Installing the tarball
As gcc has hardcoded paths in it, you have to install it at the
same place as it is on my system.
How to install:
mkdir /data
mkdir /data/lart
cd /data/lart
bzip2 -dc arm-linux-cross.tar.bz2 | tar xvf -
|
|
|
Using the cross-compiler
Simply add /data/lart/cross/bin to your path and invoke the
compiler as arm-linux-gcc (for the C compiler) or
arm-linux-g++ (for the C++ compiler). All other binutils are
also available, have a look in /data/lart/cross/bin.
Known bugs
Compiling linux-2.2.xx kernels with this compiler sometimes fails (read: the
kernel crashes at boot time) although linux-2.2.14 and newer don't seem to
suffer from this bug. Linux-2.3.xx kernels can be compiled without risk with
this compiler; that is: if you take the latest version of the kernel plus
the ARM patch set.
New compilers
Newer compilers are available from
the arm-linux ftp site and are mirrored over here:
| cross-3.0.tar.bz2 | 20 Jul 2001 23:41:59 | 40,880,037 bytes |
i386-linux to arm-linux C/C++/Objective C/Fortran 77/Java precompiled
3.0 cross compiler. NOTE: the C++ compiler in this package
does NOT work. A bug report has been send to the
GCC
bugs database (report number 3774) .Clicking the link will get you a
39 megabyte file! (tar,
bz2). If you find yourself at the wrong end
of a slow link, Netscape may abort the transfer halfway through. If this
happens to you, use GNU wget (see the link on this page).
|
|
| cross-2.95.3.tar.bz2 | 20 Jul 2001 23:40:43 | 36,273,634 bytes |
i386-linux to arm-linux C/C++/Objective C/Fortran 77/Java precompiled
2.95.3 cross compiler. Note that clicking the link will get you a
35 megabyte file! (tar,
bz2). If you find yourself at the wrong end
of a slow link, Netscape may abort the transfer halfway through. If this
happens to you, use GNU wget (see the link on this page).
|
|
|
Make sure you read the
README file.
|