On Wednesday, October 11, 2017 at 4:12:45 AM UTC-4, brainman wrote:
>
> > On Wednesday, 11 October 2017 16:04:28 UTC+11, Pat Farrell wrote:
> > 1) is the standard documentation wrong/out of date?
>
> What documentation are you referring to? Did you read 
> https://golang.org/doc/code.html ?
>


https://golang.org/doc/install

 

> > 2) how do I get the go build process to create a hello.exe rather than 
> go.exe?
>
> I suspect Go uses your current directory to name your output file. Read 
> https://golang.org/doc/code.html how to organize your Go code. You could 
> also use -o flag to provide whatever output file name you like, for example 
> "go build -o hello.exe".
>

I'll try that.
 

> > 3) how do I get the bash shell to let me just type 'go build' like we 
> all want?
>
> What bash shell are you talking about? Windows does not come with bash 
> shell. If you have Linux install, then you should install Linux version of 
> Go, not Windows version of Go.
>

You are way out of date on this one. After decades of providing a terrible 
shell, Microsoft has decided to provide a real bash shell with real Ubuntu 
utilities.   It has apt-get and is pretty nice, way better than the old cmd 
shell
https://msdn.microsoft.com/en-us/commandline/wsl/about

Still need to figure out how to make a simple 'go build' work
rather than having to enter 'go.exe build' all the time

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