This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
... This configuration should default to always use soft float. You can verify
this by checking the preprocessor macros. My cross gcc (which _is_not_
configured for soft-float) gives this output:
$ touch x.c $ arm_v4le-gcc -E -dM -msoft-float x.c | grep -i fp #define _SOFT_FLOAT 1 $ arm_v4le-gcc -E -dM x.c | grep -i fp $
You compiler should always throw _SOFT_FLOAT. To be 100% certain you should take a look at the assembly using objdump.
$ arm-softfloat-linux-gnu-gcc -E -dM -msoft-float x.c | grep -i fp #define __SOFTFP__ 1 $> arm-softfloat-linux-gnu-gcc -E -dM x.c | grep -i fp $
-- Steven
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |