This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -msoft-float and assembler...
- To: scottb at netwinder dot org
- Subject: Re: -msoft-float and assembler...
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 17 May 2000 15:32:27 -0700
- CC: gcc at gcc dot gnu dot org
Hi Scott,
: If I try to compile the code below with `gcc -S -msoft-float sf.S`, it seems the
: define __SOFT_FP__ is not passed to the assembler. Should it be?
Hmm, it appears that the ARM port defines __SOFTFP__ rather than
_SOFT_FP__:
#define CPP_FLOAT_SPEC "\
%{msoft-float:\
%{mhard-float:%e-msoft-float and -mhard_float may not be used together} \
-D__SOFTFP__} \
%{!mhard-float:%{!msoft-float:%(cpp_float_default)}} \
"
It looks like a bug in the sf.S file....
Cheers
Nick