Building a cross-compiler

James Don JDon@spacebridge.com
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,
Jim



-----Original Message-----
From: Jeff Elkins [mailto:jeffelkins@earthlink.net] 
Sent: Monday, March 03, 2003 9:28 AM
To: gcc-help@gcc.gnu.org
Subject: Building a cross-compiler

I'm attempting to build a cross-compiler for i686->powerpc using directions
I 
found  at http://www.x86-64.org/documentation_folder/build and  
http://penguinppc.org/embedded/cross-compiling/

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...
Name: buildgcc.sh
Type: application/octet-stream
Size: 6348 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20030303/3412da05/attachment-0001.obj>


More information about the Gcc-help mailing list