Re: using go build for compiling go source code into object files

67 views
Skip to first unread message
Message has been deleted

Brian Candler

unread,
Aug 13, 2020, 1:41:57 PM8/13/20
to golang-nuts
On Thursday, 13 August 2020 17:21:28 UTC+1, saurav deshpande wrote:
1.  not able to use go cross compiler for compiling desired object file. I tried setting goarch and  goos but it doesnt work for me.

It works for the rest of us.  For example: I compile macOS darwin binaries under Linux.

Therefore, please describe your problem in more explicit terms: what architecture you're trying to cross compile to, what exact command you ran, and what you saw as the result.  Also describe exactly what version of go you're running and on what platform.
Reply all
Reply to author
Forward
0 new messages