Forum Topic - ARM VFP compilation erro:
   
ARM VFP compilation erro  
According to the documentation, I need to use gcc 4.2 for VFP support. I use the suggested flags
-mfpu=vfp -mfloat-abi=softvfp 
and get the following error:
invalid floating point abi: -mfloat-abi=softvfp

any suggestions?

here is full compiler output:

C:/QNX641/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c -O -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin -mfpu=vfp 
-mfloat-abi=softvfp          -DNDEBUG   -I. -IC:/bsp-new-641/vfp-test/arm/o-le -IC:/bsp-new-641/vfp-test/arm -IC:/bsp-
new-641/vfp-test -IC:/QNX641/target/qnx6/usr/include    -EL    -DVARIANT_le -DBUILDENV_qss  C:/bsp-new-641/vfp-test/vfp-
test.c 
C:/bsp-new-641/vfp-test/vfp-test.c:1: error: invalid floating point abi: -mfloat-abi=softvfp
cc: C:/QNX641/host/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx6.3.0/4.2.4/cc1 caught signal 1
make[2]: *** [vfp-test.o] Error 1
Re: ARM VFP compilation erro  
On 10-09-16 12:56 AM, Todd Peterson wrote:
> According to the documentation, I need to use gcc 4.2 for VFP support. I use the suggested flags
> -mfpu=vfp -mfloat-abi=softvfp
> and get the following error:
> invalid floating point abi: -mfloat-abi=softvfp

It should read -mfloat-abi=softfp. I'll get the typo fixed.

Regards,

Ryan Mansfield