Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - ARM VFP compilation erro: (2 Items)
   
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