I found the problem was in my bash script. I added the cross compile var using GOOS=windows, while I should use export GOOS=windows.
I think this -H is needed unless there is another way to get rid of the console window under windows :-) Thanks 在 2017年3月14日星期二 UTC+8上午7:43:49,brainman写道: > > I think we should just get rid of Hwindowsgui. I am pretty sure it is only > different from Hwindows in one place in cmd/link. > > I will try and implement this when I have time. > > Alex > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.