This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -msoft-float and assembler...


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]