This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Soft-float and newlib
- To: Doug Evans <dje at transmeta dot com>
- Subject: Re: Soft-float and newlib
- From: Walter Christian <wolti at sil dot at>
- Date: Mon, 25 Sep 2000 00:56:07 +0200 (MEST)
- cc: Michael Sokolov <msokolov at ivan dot Harhan dot ORG>, newlib at sourceware dot cygnus dot com
> 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.
>