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: hard-float error


Poornachandran, RajeshX wrote:
 I am building GCC tool chain for arm-target using gcc-3.4.0. I have
included the patch for soft-float in the patches/gcc-3.4.0/ directory.

Which one? There are several running around. Also, which version of crosstool are you using?

When I build the gcc by running the demo-arm-soft-float.sh script, I get
the following error:

usr/local/xscale/arm-linux/gcc-3.4.0-glibc-2.3.2/arm-linux/bin/ld:
ERROR:
/home/rpoornax/gcc/crosstool-0.28-rc16/build/arm-linux/gcc-3.4.0-glibc-2.3.2/build-gcc/gcc/hard-float/crtn.o
uses hardware FP, whereas libgcc_s_hard-float.so.1 uses software FP

The last part of that message is funny, when you think about it...


I'm not really very good at this stuff (just persistant!), but
it kind of sounds like multilib isn't disabled.  Maybe that's
biting you.  Try adding --disable-multilib to GCC_EXTRA_CONFIG
in arm-softfloat.dat (or directly to the final gcc build in crosstool.sh).
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

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