Build CC is a simple script to automate building cross compilers using the GNU toolchain. It can be used to produce cross-compilers for arbitrary platforms. Platform-specific headers and libraries are collected using the "collect-platform" script.
The README has additional details.
Tested platforms are:
Platform | Multilib? |
---|---|
arm-android9-linux-androideabi | No |
arm-slackware-linux-gnueabi | No |
hppa64-hp-hpux11.11 | No |
i386-pc-solaris2.10 | Yes (-m32/-m64) |
sparc-sun-solaris2.10 | Yes (-m32/-m64) |
sparc-sun-solaris2.8 | Yes (-m32/-m64) |
x86_64-slackware-linux | No |
x86_64-unknown-freebsd8 | No |
x86_64-unknown-netbsd5 | Yes (-m64/-m32) |
This script is most well tested on Linux. That is, building cross-compilers that run on Linux and that produce binaries for various platforms.