Fatal error: invalid -march= option: `armv7-a'

Asked by Nikhil

    We are building paho cpp library for cross compilation on ubuntu eclipse using arm-linux-gnueabihf. but at the time of execution i got this error - "Fatal error: invalid -march= option: `armv7-a". i have shared my output below.

make all
Building file: ../src/TestArm.cpp
Invoking: Cross G++ Compiler
arm-linux-gnueabihf-g++ -I"/home/prashant/New/TestArm/lib" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/TestArm.d" -MT"src/TestArm.d" -o "src/TestArm.o" "../src/TestArm.cpp"
Assembler messages:
Fatal error: invalid -march= option: `armv7-a'
make: *** [src/TestArm.o] Error 1

14:36:53 Build Finished (took 259ms)

Question information

English Edit question
GNU Arm Embedded Toolchain Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Preud'homme (thomas-preudhomme) said :

Hi Nikhil,

We only provide an arm-none-eabi toolchain so the toolchain you are using was taken somewhere else. You should contact the author(s) of that toolchain as they will be the most suited to give you an answer.

Best regards.

Can you help with this problem?

Provide an answer of your own, or ask Nikhil for more information if necessary.

To post a message you must log in.