Kai Rottu wrote:
On windows, it is possible to build a binary using a compiler on Windows XP that can then run on older versions of windows simply by not using any features
specific to the newest versions of windows XP (or by using LoadLibrary and
GetProcAddress to see if those features are available or not). Can you do the same thing on linux?
 ...
The only prerequisite is a GCC & glibc & other required libraries combination
which produces apps for Linux/XYZ instead of only for the Linux version/distro
happened to be installed as the development platform... Simple solution but not
generally liked by the Linux distributors.... Why? Otherwise this kind of 
toolchain
would be always present in a Linux distro. ...

I think the LSB group is working on a toolchain that would fill this need; see
http://www.linuxbase.org/build/

Also, I'm about to submit crosstool to Fedora Extras,
though I suspect they'll only ship a restricted set of
crosstool toolchains (maybe crosscompilers targeting
all FC4-supported architectures), since each crosstool toolchain
.rpm is fairly sizable, 20-30MB.

I expect that eventually, such toolchains will in fact
come standard with Linux distributions to some extent.

Reply via email to