This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

-msoft-float and i386-coff target xcompiler


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


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