gcc floating point usage / -mno-implicit-fp status?

Dan Kegel dank@kegel.com
Mon Jul 28 03:57:00 GMT 2003


kaz Kojima wrote:
> Dan Kegel <dank@kegel.com> wrote:
> 
>>On sh4, we really need an -mno-implicit-fp option to disable the use of floating
>>point to compile the Linux kernel, but from what I hear on linux-sh,
>>http://www.m17n.org/linux-sh/ml/linux-sh/2003-06/msg00021.html,
>>there's a patch to implement that for gcc-3.2.3 but not for any
>>newer gcc.  I guess that means I may be stuck at gcc-3.2.3 for the moment,
>>no matter how much I'd like to update to a newer compiler.
> 
> 
> Doesn't "-m4-nofpu -U__sh3__ -D__SH4__=1" work for you?

I'll try that, thanks.
- Dan


-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045



More information about the Gcc mailing list