This is the mail archive of the crossgcc@sourceware.org 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: Building Native ToolChain (SH3)


Kristoffer:

That said i still cannot get the toolchain to work, I've changed all prefixes to /usr and the dirs look fine.


Yea, that one gets everyone eventually. Shame on glibc. :)

ld still complains about not finding crt1.o. The full line is :

/usr/lib/gcc/sh3-unknown-linux-gnu/3.4.4/../../../sh3-unknown-linux-gnu/bin/ld: crt1.o No Such File: No such file or directory.

Starting to feel like this problem is due to something stupid, something with the above line bugs me. Like why isnt it saying that /usr/bin/ld cannot find crt1?


All that path stuff is an artifact of how gcc invokes ld. Annoying, but mostly harmless. :)

Relaunch your gcc with --verbose, and *carefully* look at all the path information it feeds to ld. It could be that gcc is sending ld to the wrong place to find crt1.o. Which might happen if you're missing a --with-local-prefix= parameter during config.

Reminds me of a signature I saw in an email once, something about "a bunch of twisty turns" and "eaten by a grue". That's cross-compiler land for you. Which is why I'm sooo glad Dan volunteered to take all this over for me. :)


b.g.


--
Bill Gatliff
bgat@billgatliff.com


------ 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]