select VFP in arm-linux-gcc

Jing Hsuan edcedcedc@gmail.com
Wed Nov 1 05:50:00 GMT 2006


Dear Dimitry:

I google this problem and find your suggestion in this thread(
http://lists.arm.linux.org.uk/pipermail/linux-arm-toolchain/2005-September/000272.html
).

And I am trying path 3 & 5.

In path3, I rebuilt my toolchain(gcc-3.4.4-glibc-2.3.5) with the
gcc-3.4.3-arm-softvfp.patch.bz2 and try to use VFP instead of FPA, but
I get following error:
Error: selected processor does not support `sfmea f4,4,[r0]!'
make[2]: *** [/opt/crosstool-0.42/build/arm-xscale-linux-gnu/gcc-3.4.4-glibc-2.3.5/build-glibc/setjmp/setjmp.o]
Error 1
make[2]: Leaving directory
`/opt/crosstool-0.42/build/arm-xscale-linux-gnu/gcc-3.4.4-glibc-2.3.5
/glibc-2.3.5/setjmp'
make[1]: *** [setjmp/subdir_lib] Error 2
make[1]: Leaving directory
`/opt/crosstool-0.42/build/arm-xscale-linux-gnu/gcc-3.4.4-glibc-2.3.5/glibc-2.3.5'
make: *** [lib] Error 2

I glance through binutils-2.15/gas/config/tc-arm.c, and seems the flag
"-mfpu=softvfp" is wrong...(because softvfp result FPU_VFP_EXT_NONE,
not FPU_FPA_EXT_V2)
Anything I miss?

In path5,  I'm very unclear about hacking the gcc spec files.
Could you please share with me some URLs or howto doc?

Thanks in advance.
Best Regards

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list