Building micro on Ubuntu/RISCV64 #2498
-
I'm trying to cross compile micro, and I see the recent change in the Makefile. However when I try to build like this (host: darwin/arm64, target: linux/riscv64): I get these results.
If you're wondering why I don't just compile micro on the linux/riscv64 VM, the reason is that I'd love to get any advice for getting micro going on my Ubuntu RISCV64 system. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for reporting this, this is an issue with cross compilation specifically from mac. The builder tries to embed some additional information in binaries built for mac, but it was doing the detection based on the host OS not the target. I have pushed a new commit that fixes the build system, so you should be able to cross compile from mac now. |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this, this is an issue with cross compilation specifically from mac. The builder tries to embed some additional information in binaries built for mac, but it was doing the detection based on the host OS not the target. I have pushed a new commit that fixes the build system, so you should be able to cross compile from mac now.