Open xlmnxp opened 2 years ago
Go is very good at cross-compiling, which means that you can make a binary on any host with Go installed:
GOOS=linux GOARCH=riscv64 go build -o /tmp/cloudflared ./cmd/cloudflared
$ file /tmp/cloudflared
/tmp/cloudflared: ELF 64-bit LSB executable, UCB RISC-V, double-float ABI, version 1 (SYSV), statically linked, Go BuildID=ZFw-Dky8XP4EEOTiHZAm/6XUI23C2GacA-JcFU3GG/ETtQgdXdaonlBGRYdDBi/1xjGcF4ukaFnTa-3svu-, not stripped
Describe the feature you'd like I tried to install
cloudflared
to RISC-V board specificStarFive VisionFive
and I'm using Lubunu (it support both Debian and Fedora) but I couldn't found therisc-v
binaries