This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Soft-float and newlib
- To: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Subject: Re: Soft-float and newlib
- From: Doug Evans <dje at transmeta dot com>
- Date: Sun, 24 Sep 2000 12:48:33 -0700 (PDT)
- Cc: wolti at sil dot at, newlib at sourceware dot cygnus dot com
- References: <0009241548.AA11569@ivan.Harhan.ORG>
Michael Sokolov writes:
> > Very strang. It is now working. I updated my gcc to version 2.8.1 and
> > binutils to 2.9.1 and now everything works perfect (libc, libm).
> > Thanks a lot for pointing me into the right direction.
>
> Well, if you are still linking directly with ld, it's working only by
> happenstance. You must link with gcc for it to work as it's supposed to.
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.
> 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.