treat all floats to doubles
Qianqian Fang
fangqq@gmail.com
Thu May 27 02:22:00 GMT 2010
On 05/26/2010 06:54 PM, Darth_Bane wrote:
>
>
> Qianqian Fang wrote:
>
>> hi
>>
>> is there an option to treat all float variables (32bit) to
>> double (64bit) on a 64bit machine? I found -mdouble-float,
>> but I got error message
>> cc1: error: unrecognized command line option "-mdouble-float"
>> not sure why.
>>
>> appreciated if anyone can commend. thanks
>>
>> Qianqian
>>
>>
>>
> That option is only supported on a MIPS processor. Are you compiling on a
> MIPS processor?
>
no, it's an Intel Core2Duo. is there anything can do this
beside "typedef double MyFloat" and replace all "float" in
my source codes?
thanks
Qianqian
> DB
>
More information about the Gcc-help
mailing list