Monday, February 17, 2025
HomeGolangConstructing Go on Home windows - Getting Assist

Constructing Go on Home windows – Getting Assist


Hello there

I have to construct new model of go:

[signal arrived during external code execution · Issue #31 · timob/jnigi]

have modified signal_windows.go, put in minGW and am making an attempt operating all.bat:

C:Program FilesGoForksrc>
C:Program FilesGoForksrc>all
Constructing Go cmd/dist utilizing C:Usersbrian.morrowGo1.4. (go1.22.3 home windows/amd64)
go: no such instrument “compile”
go: no such instrument “compile”
go: no such instrument “compile”
go: no such instrument “compile”
go: no such instrument “compile”
go: no such instrument “compile”
go: no such instrument “compile”

however as you’ll be able to see its not working.

Right here is my Path:

Path=C:MinGWmsys1.0bin;C:Program FilesGobin;.;C:MinGWbin

Right here is go env:

C:Program FilesGoForksrc>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:Usersbrian.morrowAppDataLocalgo-build
set GOENV=C:Usersbrian.morrowAppDataRoaminggoenv
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=home windows
set GOINSECURE=
set GOMODCACHE=C:Usersbrian.morrowgopkgmod
set GONOPROXY=
set GONOSUMDB=
set GOOS=home windows
set GOPATH=C:Usersbrian.morrowgo
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:PROGRA~1go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:PROGRA~1gopkgtoolwindows_amd64
set GOVCS=
set GOVERSION=go1.22.3
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:Program FilesGoForksrcgo.mod
set GOWORK=
set CGO_CFLAGS=-IC:PROGRA~1Javajdk-11.0.2include -IC:PROGRA~1Javajdk-11.0.2include/win32
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -Wl,–no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:UsersBRIAN~1.MORAppDataLocalTempgo-build3133655552=/tmp/go-build -gno-record-gcc-switches

Any strategies a lot appreciated

Rory.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments