This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Soft-float and newlib


> Ahmm, it isn't in the source tree, it's *installed* in the appropriate
> subdirectory under your ${prefix}/m68k-coff/lib. It is automatically used when
> you link with gcc and give the gcc link command the same options you gave the
> gcc compile commands, including -msoft-float.

Hello,

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

> 
> > > 000050B4 E9C2               DC.W        $E9C2
> >
> > The function where the exception occured is __fixdfsi. As you said that
> > soft-float is part of gcc does that mean that my gcc compiler doesn't work
> > as it should ?
> 
> Hmm, so __fixdfsi has an opcode in it that's illegal for CPU32, right? gcc's
> software floating point emulation library should support CPU32, as it's
> supposed to support even the plain 68000, of which CPU32 is a superset. If it's
> supposed to work but doesn't, it would be a bug in gcc. I can't troubleshoot
> this right now, you'll have to wait until I get settled in California. You
> might want to bug me in a few weeks.

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.

Regards,
	Walter Christian

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

--
SILVER SERVER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\ \\
wolti@sil.at                                               www.sil.at
-- PGP-Key-ID: 0xA5B0E5F3                     keep your backbone tidy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]