[rescue] Bigger Iron at Home (was: SNMP, Baby!)

Jochen Kunz jkunz at unixag-kl.fh-kl.de
Wed Nov 12 04:31:24 CST 2003


On 2003.11.11 23:58 Sheldon T. Hall wrote:

> Speaking of cross-compilers ... how can I set up a C/C++ compiler on
> IRIX to compile Linux-oriented source and produce i386/Linux binaries?

I don't know. When I do cross compiling I do it for and with NetBSD.
cd /usr/src && ./build.sh -m hp700 tools
is all I need to do to get a NetBSD-hppa cross toolchain.

To do the same for Linux you need to setup a complete cross toolchain,
prepare all the glibc stuff for cross compiling, do a lot of include
path twisting so that allways the Linux/glibc stuff is used, ... fight
with the autoconf scripts of the Linux-ware (I doubt that they are cross
compile aware), ... Nothing you can do in a weekend. In practice all the
source has to be cross compile proof. AFAIK it took months to make the
NetBSD source cross compilable.
-- 


tsch|_,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/



More information about the rescue mailing list