go: cmd/link: Windows -H windowsgui stopped working in Go 1.10?
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)? 1.10
Does this issue reproduce with the latest release? yes ,just the last
What operating system and processor architecture are you using (go env
)? windows 10 ,intel i7
What did you do?
go build -ldflags “-H windowsgui” -v -o %gopath%/bin/test.exe my\proj\test.io
if i compile my program with version 1.9 , it’s work good! but if i compile my program in the last version 1.10 , i get black window console
What did you expect to see?
my window program without window console
What did you see instead?
my window program with window console
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 24 (12 by maintainers)
PSA: for me, changing the GOPATH to the correct capitalization form e.g.
"C:\Users\hugo\go" instead of "c:\users\hugo\go"
is a workaround for ongo 1.10.3
.