This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building a cross compiler with software floating point
- From: "Matthew S. McClintock" <mattsm at arlut dot utexas dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 28 Oct 2003 14:48:45 -0600
- Subject: Building a cross compiler with software floating point
I am trying to build gcc for ARM. I am building GCC with the following
command:
CROSS_COMPILE=arm-linux- ../../src/gcc-3.3.2/configure
--prefix=/home/blasig/omap/tools/ --target=arm-linux --with-cpu=arm9tdmi
--without-fp -nfp --disable-fp --enable-languages=c --with-newlib
--without-headers --disable-shared --disable-threads; make all-gcc
However I am running into a problem that when I try to build a program I
get the following error:
arm-linux-ld: ERROR:
/home/blasig/omap/tools/bin/../lib/gcc-lib/arm-linux/3.3.2/libgcc.a(_udivsi3.o) uses hardware FP, whereas u-boot uses software FP
File in wrong format: failed to merge target specific data of file
/home/blasig/omap/tools/bin/../lib/gcc-lib/arm-linux/3.3.2/libgcc.a(_udivsi3.o)
Is this error a result of me not including an option for GCC so it
compiles a software floating point libgcc.a? If so, how does one
accomplish this? Or is it an error related to something else?
Thanks for your time
--
Matthew S. McClintock <mattsm@arlut.utexas.edu>