Building a cross-compiler

James Don
Mon Mar 3 14:33:00 GMT 2003

Hi Jeff,

Here's a script I slopped together for gcc-2.95.3 from some www sources ... 

I recommend you don't use libstdc++ part of the script ... use what ever stl
etc comes with the g++-core package ... people will just ignore you for the
better part if you have troubles building this and tell you to read the FAQ
etc (which is not really that useful) ...

I'll hopefully clean it up and make a Makefile version later this month when
I have a free moment ...

Hope this helps,

-----Original Message-----
From: Jeff Elkins [] 
Sent: Monday, March 03, 2003 9:28 AM
Subject: Building a cross-compiler

I'm attempting to build a cross-compiler for i686->powerpc using directions
found  at and

I get the error:

config/rs6000/linux.h:81:20: signal.h: No such file or directory
config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/jeff/gcc-3.2.2/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/jeff/gcc-3.2.2/gcc'
make: *** [all-gcc] Error 2

Thanks for any assistance,

Jeff Elkins

-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 6348 bytes
Desc: not available
URL: <>

More information about the Gcc-help mailing list