Soft-float and newlib

Michael Sokolov msokolov@ivan.Harhan.ORG
Sun Sep 24 08:51:00 GMT 2000


Walter Christian <wolti@sil.at> wrote:

> Well, i don't use gcc for doing the link-process. Instead i am doing it
> manually in my makefile by calling ld.

This is your problem. It will never work right unless you link with gcc.

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

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.
See my article on the Cygnus tree in

ivan.Harhan.ORG:/pub/embedded/cygnus-tree-intro

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)


More information about the Newlib mailing list