gcc-3.3.3 and softfloat?
Marius Groeger
mgroeger@sysgo.com
Fri Dec 3 14:33:00 GMT 2004
On Fri, 3 Dec 2004, Dan Kegel wrote:
> $TARGET-gcc -dM -E -xc /dev/null | grep FLOAT
Cool, got to remember that one :-)
Oh, and the test might be broken for gcc 3.3.x and higher. I did it
with my 3.2.3 based gcc, but looking into the 3.3.3 sources I found
that _SOFT_FLOAT is only used for rs6000 and the 386 rtems gcc. ARM
seems to define __SOFTFP__ now, quoting from gcc/config/arm/arm.h:
if (TARGET_SOFT_FLOAT) \
builtin_define ("__SOFTFP__"); \
So the test should go like this:
$TARGET-gcc -dM -E -xc /dev/null | grep SOFTFP
Regards,
Marius
--
Marius Groeger <mgroeger@sysgo.com>
SYSGO AG Embedded and Real-Time Software
Voice: +49 6136 9948 0 FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list