-msoft-float and i386-coff target xcompiler

Erik Ivanenko erik.ivanenko@utoronto.ca
Fri Sep 5 11:13:00 GMT 1997


I am trying to get the -msoft-float option to work with my rtems-aware
cross-compiler. ( Linux-586 -> i386-coff ) 
Has anyone out there done this?


I really don't know where to begin. Do I create libgcc1.a with the
i386-coff compiler and use it?  I've done that, and added the
-msoft-float switch to CFLAGS but disassembled listings show that the
system continues to emit hard floating point instructions. Naturally,
the program halts on execution of such instructions.

My configuration is :

gcc-2.7.2 with cross-gcc patches
newlib-1.7.0-posix ( rtems aware )
binutils-2.6.0

-- 
Erik Ivanenko,
Supervisor, Controls Services
University of Toronto



More information about the Gcc mailing list