compilation error of gcc to build a cross-compiler
Janis Johnson
janis187@us.ibm.com
Tue Oct 26 22:51:00 GMT 2004
On Tue, Oct 26, 2004 at 04:48:34PM +0200, carole verdon wrote:
> Hi,
>
> I finally found a patch to linux.h that permit to compile gcc as a cross
> compiler for a powerpc-linux target without need of Glibc. But now, i
> have got another error with eabi.S.
If you want to compile code that will run on powerpc-linux then you can't
use newlib, you'll need glibc. You must also build cross binutils. All
of this is very complicated, so take a look at crosstool, referenced in
Ken Wolcott's reply to you a couple of days ago. Yes, crosstool is
complicated, but it really is much easier than trying to do it yourself.
Janis
More information about the Gcc
mailing list