- 参考
LINUX FRP下载编译_linux编译frpc-CSDN博客
- 编译
make -f Makefile.cross-compiles
- 检查
$ make -f Makefile.cross-compiles
Build darwin-amd64...
Build darwin-amd64 done
Build darwin-arm64...
Build darwin-arm64 done
Build freebsd-amd64...
Build freebsd-amd64 done
Build linux-amd64...
Build linux-amd64 done
Build linux-arm (7)...
Build linux-arm (7) done
Build linux-arm (5)...
Build linux-arm (5) done
Build linux-arm64...
Build linux-arm64 done
Build windows-amd64...
Build windows-amd64 done
Build windows-arm64...
Build windows-arm64 done
Build linux-mips64...
Build linux-mips64 done
Build linux-mips64le...
Build linux-mips64le done
Build linux-mips (softfloat)...
Build linux-mips (softfloat) done
Build linux-mipsle (softfloat)...
Build linux-mipsle (softfloat) done
Build linux-riscv64...
Build linux-riscv64 done
Build android-arm64...
Build android-arm64 done
- 检查
$ file release/frpc_linux_arm64
release/frpc_linux_arm64: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=5B9oa84iEQU-67FxQfCZ/v9kVFBC2FZyqH7MmeKjg/ojWyim-j-N1VIlh3QxCB/kr-8bUDGX0blEFgBMGiv, stripped