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: ld needing libgcc


>The problems seems to be that I'm using ld directly for the link,
>instead letting gcc to the link, but when I use gcc I get other link
>error from libc.a which I don't using ld.

You should never call ld directly.  If libc is generating errors then it 
sounds like newlib needs fixing.  The lack of __end__ might be an oversight in 
the linker script.

If you don't need libc, you can turn it off with -nostdlib and then 
reintroduce libgcc with just -lgcc.

p.



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