You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i compile go-sqlite3 for the target arm linux on win7, i failed the building when use goland.
the env is CC=arm-none-linux-gnueabihf-gcc;GOOS=linux;GOARCH=arm;CGO_ENABLED=1
i download the gcc from this page, and use gcc-arm-9.2-2019.12-mingw-w64-i686-arm-none-linux-gnueabihf.tar.xz
the errors:
# runtime/cgo
collect2.exe: fatal error: CreateProcess: No such file or directory
compilation terminated.
and i tried restart goland, it failed the same.
need u help, thanks~
The text was updated successfully, but these errors were encountered:
1. go to https://www.linaro.org/downloads/ to download arm-linux-gnueabihf, and select
gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf.tar.xz
2. set env to:
CC=arm-linux-gnueabihf-gcc;CXX=arm-linux-gnueabihf-g++;CGO_ENABLED=1;GOOS=linux;GOARCH=arm;GOARM=7
3. set go buld argments:
-ldflags="-extldflags=-static"
1. go to https://www.linaro.org/downloads/ to download arm-linux-gnueabihf, and select
gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf.tar.xz
2. set env to:
CC=arm-linux-gnueabihf-gcc;CXX=arm-linux-gnueabihf-g++;CGO_ENABLED=1;GOOS=linux;GOARCH=arm;GOARM=7
3. set go buld argments:
-ldflags="-extldflags=-static"
hi @xzzh999 , just wondering is it also aplicable for linux as well? i'm using ubuntu 18.04 . Thanks
Hi~
nice work~
when i compile go-sqlite3 for the target arm linux on win7, i failed the building when use goland.
the env is
CC=arm-none-linux-gnueabihf-gcc;GOOS=linux;GOARCH=arm;CGO_ENABLED=1
i download the gcc from this page, and use
gcc-arm-9.2-2019.12-mingw-w64-i686-arm-none-linux-gnueabihf.tar.xz
the errors:
and i tried restart goland, it failed the same.
need u help, thanks~
The text was updated successfully, but these errors were encountered: