I’m asking this on behalf of my team’s build engineer, who’s trying & failing to produce a Windows 64-bit build of our product. Here’s his report of what happens:
> GOROOT=/usr/local/go/1.2
> . . .
> Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Git\cmd;C:\cygwin64\usr\local\go\1.2\bin
>
>
> => set CGO_ENABLED=1
>
> => echo GOOS=windows GOARCH=amd64
> GOOS=windows GOARCH=amd64
>
> => go build -v
github.com\couchbaselabs\sync_gateway
> 2014/05/14 19:07:31 unsupported GOARCH amd64
Any ideas? Apologies if the answer is obvious, but though I’m experienced with Go on Mac and Linux I’ve never used it on Windows so I don’t know where to start…
—Jens