gcc-3.3.3 and softfloat?
Dan Kegel
dank@kegel.com
Fri Dec 3 13:02:00 GMT 2004
Steven Scholz wrote:
> I am using gcc-3.3.3-glibc-2.3.2-linux-2.6.8 from crosstool-0.28-rc37
> for ARM9.
>
> 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.3.3
> export GLIBC_DIR=glibc-2.3.2
> export LINUX_DIR=linux-2.6.8
> export GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2
>
> Do I have to pass -msoft-float when compiling applications with floating
> point operations? Or is this flag on by default?
I dunno. You might need to ask the arm-linux folks, who
are better steeped in this than the crossgcc folks...
> How do I know if floating point operations are realy handle by the
> softfloat functions and not by the kernel emulator?
Do an objdump of your code and see if it's using floating-point
instructions?
- 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
More information about the crossgcc
mailing list