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.
Problems
<arm_neon.h>is missing.- NEON data types like
float32x4_t,uint32x4_t,float32x4x2_tthrows error Type float32x4x2_t could not be resolved.
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=neonare present in the cross compiler toolchain. Now the header file issue is solved.Still the second issue persist.
Some of the referred fixes: [1], [2].
Could anyone pass some light on this. Thanks in advance.
gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux, prefixarm-linux-gnueabihf-.-mfloat-abi=hardnotsoftfpsurely?. I checkedgcc-linaro-arm-linux-gnueabihf-4.8-2013.10on windows and it does havearm_neon.harm_neon.hfile, that says You must enable NEON instructions... @Notikethat: Thanks for your time and inputs that steer to the right direction(+1). Related Q&A can be found here