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:
This script is most well tested on Linux. That is, building cross-compilers that run on Linux and that produce binaries for various platforms.