help on soft-float

Jim Wilson wilson@specifixinc.com
Sat Dec 20 14:38:00 GMT 2003


Liu Hongming wrote:
> I am using gcc cross-compiler for mips bought from some vendors,
> and it doesnt support -msoft-float option(I dont know why it is a difficulty). 

It isn't clear what your problem is.  What kind of error do you get when
you try to use the -msoft-float option?  Is this a missing multilib problem?

If you have sources for your cross-compiler, it shouldn't be too hard to
enable soft-float multilibs and rebuild it.  You need to define the
MULTILIB_* Makefile variables in the target t-* file.  See for instance
the example in the gcc/config/mips/t-elf file.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list