Closed donknap closed 1 month ago
Your C compiler targets "bare metal" and thus is incompatible with cgo. You need one that targets Linux. (As I am not sure if such a toolchain exists for macos hosts, you may have better success compiling via a docker container.)
Your C compiler targets "bare metal" and thus is incompatible with cgo. You need one that targets Linux. (As I am not sure if such a toolchain exists for macos hosts, you may have better success compiling via a docker container.)
thanks,using arm-none-linux-gnueabihf compile successfully。
Why is there no hard float target in Mac?
compile command
err message
Thank you so much!