LoRaMac-node icon indicating copy to clipboard operation
LoRaMac-node copied to clipboard

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

Open wujunhui99 opened this issue 2 months ago • 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)

wujunhui99 avatar Apr 28 '24 05:04 wujunhui99