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