Cross compile problem for ARM64

Does any one know how to make cross compile for arm64 big endian?
I’ve tried to type this command for cross compile .
GOOS=linux GOARCH=arm64 go build -o main main.go
But it’s show little endian elf type by using readelf.
I’m just having x86 machine for cross compile.

Go doesn’t seem to support big-endian ARM. https://github.com/golang/go/issues/11079

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.