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?


Steven Scholz wrote:
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?

In gcc-3.4.2-glibc-2.3.3-linux-2.6.8 (from crosstool-0.28-rc37) using export KERNELCONFIG=`pwd`/arm.config export TARGET=arm-softfloat-linux-gnu export TARGET_CFLAGS="-O" export GCC_EXTRA_CONFIG="--with-float=soft" export GLIBC_EXTRA_CONFIG="--without-fp" export BINUTILS_DIR=binutils-2.15 export GCC_DIR=gcc-3.4.2 export GLIBC_DIR=glibc-2.3.3 export LINUX_DIR=linux-2.6.8 export GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3

I get

$ arm-softfloat-linux-gnu-gcc -dM -E -xc /dev/null  | grep SOFTFP
#define __SOFTFP__ 1
$ arm-softfloat-linux-gnu-gcc -dM -E -xc -msoft-float /dev/null  | grep SOFTFP
#define __SOFTFP__ 1

Aha. So gcc-3.4 was the answer, eh? - 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]