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]

Re: gcc-3.3.3 and softfloat?


Marius Groeger wrote:
On Fri, 3 Dec 2004, Steven Scholz wrote:

But if you have a moment, it might be interesting to take a look into the gcc configuration. It seems wrong to be that the fp configuration is not hardwired. Maybe the configure flag is wrong; I remember at least the variantes --without-fp, --nfp, and --with-float=soft. You may want to try some of them.

Well, these where the ones that came with crosstool-0.28-rc37 for arm-softfloat...


Which ones? Have you tried "--without-fp"?

He wrote > export GCC_EXTRA_CONFIG="--with-float=soft" > export GLIBC_EXTRA_CONFIG="--without-fp" which tells http://kegel.com/crosstool/crosstool-0.28-rc37/crosstool.sh.txt to configure gcc with --with-float=soft and glibc with --without-fp.

I rather thought that would do it, but I guess it
doesn't pass your test, i.e. a compiler configured for
soft-float should output
  #define _SOFT_FLOAT 1
when you run the command
  $TARGET-gcc -dM -E -xc /dev/null  | grep FLOAT
Can somebody who knows something about softfloat comment?

Incidentally, I seem to recall softfloat is said to not be fully working
with vanilla gcc-3.3.3, the version Steven is trying.  Steven,
can you try with gcc-3.4.3 just for kicks?
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
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]