You can find here the current release of cross compilers for Linux
This is a cross compilation of GCC on Mac OS X.
A package installs all files in the given installation directory, for example in /usr/local/i386-linux-4.1.1 for release 2 for Intel Mac.
All tools are located in the bin sub directory. You can add this path to your $PATH shell variable, or invoke the tools with their full path name: for example /usr/local/i386-linux-4.1.1/bin/i386-linux-gcc for gcc.
| Version | Corresponds to… | Implemented languages | Installer to download | Installation directory |
|---|---|---|---|---|
| 2 (december 2006) | gcc 4.1.1 | C, C++, Objective-C, Java | i386-linux-gcc-4.1.1-for-Mac-OS-X-Intel.tar.bz2 (92.7 MB) | /usr/local/i386-linux-4.1.1/ |
| Version | Corresponds to… | Implemented languages | Installer to download | Installation directory |
|---|---|---|---|---|
| 2 (december 2006) | gcc 4.1.1 | C, C++, Objective-C, Java | i386-linux-gcc-4.1.1-for-Mac-OS-X-ppc.tar.bz2 (92.7 MB) | /usr/local/i386-linux-4.1.1/ |
| 1 (december 2005) | gcc 4.0.2 | C, C++, Objective-C, Java | i386-linux-gcc-4.0.2-for-Mac-OS-X.tar.bz2 (87.4 MB) | /usr/local/i386-linux-4.0.2/ |
Yes, it is an error, ppc binaries install in an i386… directory.
Builds ppc binaries on a PowerPC Mac, Intel binaries on an Intel Mac.
| Version | Corresponds to… | File | Link |
|---|---|---|---|
| 2 (december 2006) | gcc 4.1.1 |
i386-linux-gcc-4.1.1-for-mac-wo-src-tarballs.tar.bz2 (73.4 KB) i386-linux-gcc-4.1.1-for-mac-with-src-tarballs.tar.bz2 (106 MB) |
Building Instructions |
Builds only ppc binaries.
| Version | Corresponds to… | File | Link |
|---|---|---|---|
| 1 (december 2005) | gcc 4.0.2 |
i386-linux-gcc-4.0.2-for-mac-with-src-tarballs.tar.bz2 (88.5 MB) i386-linux-gcc-4.0.2-for-mac-wo-src-tarballs.tar.bz2 (76.9 kB) |
Building Instructions |