This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: static linking error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]