How can I build a cross compiler for a C ++ library to target many platforms on a single build server?
The cross-compiler should be able to create a library (at least) {Windows 7, Mac OS X, Ubuntu 11.04} Γ {32 bit, 64 bit} Γ {Debug, release}. I don't care that the whole build from scratch is taken forever or if the gcc binary is 1 GB. If the cross-compiler cannot be one executable, what workflow should I use to compile (and recompile) my library?
The host machine will be Ubuntu 11.04.
source share