We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm trying to cross comple a bunch of C files from SMP Debian 3.2.46-1 i686 GNU/Linux to ARM Coretex-A9 platform. Linaro linaro-alip 3.0.35-02828-g5cedf96 is running on the ARM board.
SMP Debian 3.2.46-1 i686 GNU/Linux
ARM Coretex-A9
Linaro linaro-alip 3.0.35-02828-g5cedf96
Problems
<arm_neon.h>
float32x4_t
uint32x4_t
float32x4x2_t
My attempts
I manually downloaded <arm_neon.h> and placed in the same directory as my C files. Also made sure that the compiler options -mfloat-abi=softfp -mfpu=neon are present in the cross compiler toolchain. Now the header file issue is solved.
-mfloat-abi=softfp -mfpu=neon
Cross compiler: gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux, prefix arm-linux-gnueabihf-
gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux
arm-linux-gnueabihf-
Some of the referred fixes: [1], [2].
Could anyone pass some light on this. Thanks in advance.
The problem was with -mfloat-abi=softfp. It should be -mfloat-abi=hard
-mfloat-abi=softfp.
-mfloat-abi=hard
More about this issue.