Soft Float for PC386

Ralf Corsepius corsepiu at
Tue Feb 5 16:43:26 UTC 2002

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.


More information about the users mailing list