static linking error

Dan Kegel dank@kegel.com
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
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list