Soft-float and newlib

Walter Christian wolti@sil.at
Sun Sep 24 15:52:00 GMT 2000


> Technically speaking this is debatable.
> It's a LOT easier to use gcc to do the link,
> but if you know what you're doing, calling ld directly isn't
> verboten.
> 
> One way to get started is to add -v to the gcc args when you do the
> link and see how gcc invokes the linker.

Hello,

Well it did exactly the thing you mentioned above. I used the -v flag to
see how gcc is calling ld and put the right -L Parameters (Which point to
the right libs for the architecture) into my Makefile and called ld
directly.  
The problem with my software floating point was surely not a problem with
linking. Anyway. As long as updating the compiler resolved my problem 
everything is allright.

Regards,
	Walter Christian.

> 
>  > Also gcc-2.8.1 and binutils-2.9.1 are both very old. If you want to stick to
>  > FSF releases, at least you should be using gcc-2.95.2 and binutils-2.10. But I
>  > personally prefer using the Cygnus tree instead of FSF releases, which is truly
>  > current and doesn't suffer from the staleness and redundancy of FSF releases.
> 
> Using the current tree on sourceware.cygnus.com
> (aka sources.redhat.com) also opens you up to the bug of the day.
> 



More information about the Newlib mailing list