I've not used bash for windows, so I don't really know whats available for 
it. Cygwin is a product that has been around for a very long time so it's 
mature, and has a great package management system, and a very large 
selection of packages to include xwindows apps, kde, gnome etc. It's just 
what I've been using for the past 10 years or more when I am forced to use 
a Widows PC. 


On Thursday, September 21, 2017 at 7:50:00 AM UTC-5, Rob Shelby 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to