Soft Float for PC386

Smith, Gene Gene.Smith at sea.siemens.com
Tue Feb 5 17:10:48 UTC 2002


Forgot to rebuild my app after running bit_rtems (duh!). I had the 
CPU_CFLAGS set as you say. Will try again without moving any library
files around...

It works!  Thanks for the help.
-gene

>-----Original Message-----
>From: Ralf Corsepius [mailto:corsepiu at faw.uni-ulm.de]
>Sent: Tuesday, February 05, 2002 11:43 AM
>
>
>Am Die, 2002-02-05 um 16.25 schrieb Smith, Gene:
>> I installed the 4.5.0-preview rpms and now have the variant 
>libraries under
>> /opt/rtems/i386-rtems/lib. When I build from scratch (bit_rtems i386
>> cp386sx) I still see f*** instructions. I suspect I might 
>need to copy the
>> desired variant files (soft-float) into the lib directory 
>and replace the
>> default libraries that are there (I will try this).
>Well, this could work, but definitely is not correct.
>
>> Or is there a better way
>> to select the desired variant?
>
>How do your CFLAGS look like?
>
>You should have something like 
>CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387
>
>in your BSP.cfg, rsp. need to add these to your CFLAGS in your
>application Makefiles.
>
>Ralf
>
>



More information about the users mailing list