rrcat
(Roy Liu)
May 8, 2020, 9:05am
1
env
CGO_ENABLED=1
GOOS=linux
GOARCH=arm
GOARM=7
CC=arm-fsl-linux-gnueabi-gcc
CXX=arm-fsl-linux-gnueabi-g++
go build -o xxxxxx .
there is some wrong with it and tips
“ARM external linker must be gold (issue #15696 ), but is not: collect2 version 4.6.2 20110630 (prerelease) (ARM GNU/Linux with ELF)” everytime
could anybody else can help me, thanks a lot
bklimczak
(Bartłomiej Klimczak)
May 9, 2020, 5:43am
2
Make sure you have OS up-to-date https://github.com/golang/go/issues/15696
Are you compiling on Raspberry PI 2?
rrcat
(Roy Liu)
May 10, 2020, 9:19am
3
absolutely not, I use it on i.mx6 platform, a Embedded chip with arm
bklimczak
(Bartłomiej Klimczak)
May 10, 2020, 3:55pm
4
what os do you have? do you use tinygo?
system
(system)
Closed
August 8, 2020, 3:55pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.