static linking error

Dan Kegel
Tue Jul 8 20:36:00 GMT 2003

Charles Lockhart wrote:
> I've been able to build Xgcc toolchain for the ppc405 on a RH7.2 machine 
> using the crosstool scripts, but the build has failed on a machine 
> running RH9.

Oh, I'll have to try that.  Thanks for the report.

> code, looks fine.  However when I try to statically link everything, I 
> get errors, and I don't understand what the root of the problem is.

Why are you using -nostdlib and all that?  What happens if you just do
$(CROSS_COMPILE)gcc test.c -s

- Dan

Dan Kegel

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list