Open veerdone opened 4 months ago
Ensure you have a arm64 cross compiler installed and are setting your CC
to that compiler
see https://github.com/golang/go/issues/28966
Ensure you have a arm64 cross compiler installed and are setting your
CC
to that compiler see golang/go#28966
I try install gcc-arm-linux-gnueabi
and set env CC=arm-linux-gnueabihf-gcc
, then I run build got
# Building target: linux/arm64
• Generating bindings: ERROR
# runtime/cgo
arm-linux-gnueabihf-gcc: error: unrecognized command-line option '-m64'
exit status 1
ERROR
# runtime/cgo
arm-linux-gnueabihf-gcc: error: unrecognized command-line option '-m64'
exit status 1
try run ‘CGO_ENABLED=1 GOARCH=arm64 CC=arm-linux-gnueabihf-gcc go build -tags desktop,production -ldflags "-w -s" ’
I build success by this command
I have this same problem
Description
Run
wails build -platform=linux/arm64
then I got errorTo Reproduce
Expected behaviour
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response