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] |
On 2004-06-24 at 20:04:49 Dave wrote: > I have tried that before but there is no -lfloat > /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: cannot find -lfloat > collect2: ld returned 1 exit status 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 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)
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |