Well you don't need to do something as drastic as chroot, you could just
name the cross compiler binaries something different, and make sure to
set your path so the make scripts can find them (which is how the Linux
build environment is actually set up) it is much harder to distribute
generic Linux binaries than windows ones, because of various binary
incompatibility issues, for example incompatible versions of glibc can
cause headaches, as well as many other libraries.
Colin Finck wrote:
Maybe someone could create something similar to RosBE
for Linux.
I remember that the LFS project (Linux From Scratch) first builds a
temporary system. This system only contains compiler tools in the rightc
version.
When this temporary system was finished, you could easily switch to it with
the command "chroot" and use these compiler tools.
This works on every Linux distribution.
You can read more about it in the LFS manual:
http://www.linuxfromscratch.org/lfs/view/6.1.1/ (chapter 5)
It would be nice if someone could create such a build environment for Linux,
which works with every distribution and just needs a "chroot" command to be
started.
Otherwise I could try it as well, when I have more time.
Regards,
Colin