One reason might be if you’re using a server version of Windows. For some 
reason, the Linux subsystem is only for consumer versions.

Andy

> On Sep 21, 2017, at 5:50 AM, Rob Shelby <r...@undeadindustries.com> wrote:
> 
> Why would I use Cygwin over Bash For  Windows?
> 
> On Thursday, September 21, 2017 at 8:17:04 AM UTC-4, Rich wrote:
> As a Linux guy myself...  Jet Brains makes an IDE for Windows, Linux and Mac 
> called Gogland that I find to be a very good IDE.  If forced to use Windows, 
> I would install Cygwin which will give you a Linux shell environment.  As for 
> compiling, I run a mac and build binaries for Linux / Windows all the time.   
> What I do is create a simple Makefile like this:
> 
> all: runcmd
> 
> runcmd: runcmd.go
>         GOOS=linux GOARCH=amd64 go build  -o binaries/linux64/runcmd runcmd.go
>         GOOS=linux GOARCH=386   go build  -o binaries/linux32/runcmd runcmd.go
>         GOOS=windows GOARCH=amd64 go build  -o binaries/win64/runcmd.exe 
> runcmd.go
>         GOOS=windows GOARCH=386 go build  -o binaries/win32/runcmd.exe 
> runcmd.go
>         GOOS=darwin GOARCH=amd64 go build  -o binaries/mac/runcmd runcmd.go
> 
> Just type 'Make' and it will build for all platforms   
> 
> On Wednesday, September 20, 2017 at 4:31:04 PM UTC-5, Rob Shelby wrote:
> Hi all.
> 
> I'm having to make 2 transitions in my coding life. 
> 
> From PHP to Go, which I'm happy about.
> 
> From Linux desktop to Windows 10, which I'm not as happy about.
> 
> I love using Google's App Engine so I don't need to worry about servers etc. 
> (Not Compute Engine)
> 
> Anyways, any steps, advice, etc to easily code in Go and deploy to GAE.
> 
> So far, I've figured that installing and running Go in Bash On Linux, but 
> coding in an IDE in Windows, is the easiest. Then deploy from Bash On Windows.
> 
> Does anyone else have a better way?
> 
> Thanks!
> 
> -- 
> 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 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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.

Reply via email to