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] |
> Okay, since you built the toolkit yourself, it is very probable that > your glibc is also built with FPA hardfloat, so the following might > not actually help; but as a quick hack, you can try to edit the file: > /opt/crosstool2/lib/gcc-lib/arm-linux/3.3.3/specs > and replace the line: > %{msoft-float:-lfloat} -lgcc > with: > -lgcc # cat /opt/crosstool2/lib/gcc-lib/arm-linux/3.3.3/specs | grep lgcc %{msoft-float:-lfloat} %{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared:% {!shared-libgcc:-lgcc -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:-lg cc_s%M}}} I removed the -lfloat section... /opt/crosstool2/bin/arm-linux-gcc -o float float.c -msoft-float /opt/crosstool2/bin/../lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin /ld: ERROR: /opt/crosstool2/bin/../lib/gcc-lib/arm-linux/3.3.3/libgcc.a(_addsubdf3.oS) uses FPA instructions, whereas float does not [...] So somehow gcc/glibc got built with FPA hardfloat? I specified --nfp, --without-fp, --with-softfloat-support=internal, etc for both gcc/glibc...see .dat in original message... > It may be better to rebuild your toolkit using softfloat as default, > though. Try replacing the softfloat patch in crosstool's > patches/gcc-3.3.3 directory with this one: > http://www.andric.com/cross/patches/gcc-3.3.2-arm-softfloat.patch.bz2 > (Should apply to gcc 3.3.3 sources too, I hope) I will try this now.... -Dave ------ 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] |