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)


On Friday 12 August 2005 09:05 pm, Dan Kegel wrote:
> Kristoffer Ericson wrote:
> > Greetings,
> >
> > Agreed, a guru's reply should always be listend to :) (And Im learning
> > more by each answer).
> >
> > That said i still cannot get the toolchain to work, I've changed all
> > prefixes to /usr and the dirs look fine. 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/b
> >in/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?
>
> Have you read the last paragraph of
> http://kegel.com/crosstool/crosstool-0.38/doc/crosstool-howto.html#canadian
> which mentions you need to edit the resulting spec file?

heh, that fixed the issue on my end ... `gcc -print-search-dirs` now 
includes /usr/lib and /lib ...

what about gcc-4.x then ?  iirc, they're getting away from external spec's, so 
this wont be fixable in the same way right ?
-mike

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