Trying to cross-compile from Mac to a raspberry pi zero W which runs ARMv6.
Edit: Now the compiling issue is with openssl. If anyone knows how to get compiling openssl working, that'd be awesome.
Original:
I've set up my .cargo/config
as the following
[target.arm-unknown-linux-musleabihf]
linker = "arm-linux-gnueabihf-ld"
but keep getting an error
--- stderr
/bin/sh: arm-linux-musleabihf-gcc: command not found
make[1]: *** [apps/app_rand.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/bin/sh: arm-linux-musleabihf-gcc: command not found
make[1]: *** [apps/apps.o] Error 127
/bin/sh: arm-linux-musleabihf-gcc: command not found
make[1]: *** [apps/bf_prefix.o] Error 127
/bin/sh: arm-linux-musleabihf-gcc: command not found
make[1]: *** [apps/opt.o] Error 127
make: *** [build_libs] Error 2
thread 'main' panicked at '
I've run brew install arm-linux-gnueabihf-binutils
Overall, I'm pretty confused and at a loss of what to do