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