On Fri, Nov 4, 2016 at 8:15 AM, Pritam Baral <chhatoipri...@gmail.com> wrote: > On Fri, Nov 4, 2016 at 8:28 PM, Ian Lance Taylor <i...@golang.org> wrote: > >> `go build` takes a -o option that you can use to put the results where >> you please. > > Yes, I use that. But that's only `-o`. In my original comment about gcc's > `-o` I meant to point to the ability to link together compiled object files, > not to choose the output file name and location.
It sounds like you are looking for `go tool compile` and `go tool link`, and want to manage the outputs yourself rather than using the directory layout used by `go build` and `go install`. Ian -- 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.