This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to run compile code for NEON

Note: This was originally posted on 18th December 2009 at http://forums.arm.com

Hello everyone,
I'm  trying RVDS4.0 evaluation copy and i'm not able to get any option in RVDS that can compile my code in NEON instruction set.As a starting point,I've written simple addition C file with following option.:
--cpu=Cortex-A8 --fpu=VFPv2 -O3 -Otime --vectorize

The error i'm getting is:
armlink: Object main.o attributes are not compatible with provided cpu and fpu  attributes.

I searched on internet and i found most people are using this option:
-mpfu=neon -ftree-vectorize -mfloat-abi=softfp
"i don't know how to set my fpu to neon"

Please reply ASAP
Regards
S
0