Building Native ToolChain (SH3)
Bill Gatliff
bgat@billgatliff.com
Fri Aug 12 17:24:00 GMT 2005
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
More information about the crossgcc
mailing list