Lora-net/LoRaMac-node

MacBook M1 chip complies fail! arm-none-eabi-gcc: error: unrecognized command-line option '-arch'; did you mean '-march='?

Opened this issue · 0 comments

After i installed all the required softwares(cmake,arm-none-eabi-gcc,...) in my macbook,I use macbook to compile the loramac-node project.Then i failed. the error message is "arm-none-eabi-gcc: error: unrecognized command-line option '-arch'; did you mean '-march='?". i can compile the project in my ubuntu desktop sucessfully, but the same project,same code, compiled fail in mac(m1 chip)