[go-nuts] Re: Windows Build Problem

2018-11-06 Thread Henry
I manage to find the culprit. Apparently, Haskell bundles their own GCC and stuffs, and adds them to the path. As soon as Haskell is removed, it builds just fine. Thanks again. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fro

[go-nuts] Re: Windows Build Problem

2018-11-06 Thread Henry
Thanks for the reply. Are you able to build with CGO enabled? I can build without CGO support, but once I remove the cgo flag, the build will fail. I probably mess up my paths somewhere. On Tuesday, November 6, 2018 at 9:09:27 PM UTC+7, peterGo wrote: > > Henry, > > MinGW and TDM-GCC both work f

[go-nuts] Re: Windows Build Problem

2018-11-06 Thread peterGo
Henry, MinGW and TDM-GCC both work for installing Go from source on Windows 10 64-bit. Here is MinGW: # Windows: Microsoft Windows [Version 10.0.17134.345] # gcc: C:\Users\peter>gcc --version gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 7.2.0 # Go1.4: C:\Users\peter\Go1.4\bin>go