This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Re Crosscompiling a native compiler


Jeff Bailey wrote:

> I am having some difficulties now with the resultant compiler, because
> gcc doesn't know that crt1.o is /lib/crt1.o but you can burn that bridge
> when you come to it.  (Any suggestions from people would be wonderful!)
> The native compiler does, however, work once LD is told where to find them.

So does "make" or "make cross" complete without errors ?
If so, I assume that "make install" is OK and that you are having problems
linking with /lib/crt1.0
If this is the case, you can try looking in the spec file.
I also remember one of the shared library files (libc.so.x I think) was actually
a script with some absolute path references.  Try grepping (grep -l) for crt1.0
in the library files and then check if any of them are text files.  You might see
a suspicious path which might give you a hint.

Brendan Simon.



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


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