*GOOS=linux GOARCH=amd64 go build*

Try this?

On Mon, May 7, 2018 at 8:56 AM, Steven Roth <st...@rothskeller.net> wrote:

> Can anyone point me to a recipe or guidance on how to set up a
> cross-compilation environment on a Mac that will allow me to build
> CGO-enabled Go code to run on Ubuntu?  The program I'm building is pure Go
> except for an unavoidable dependency on libsqlite3.
>
> Thanks in advance,
> Steve
>
> --
> 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.
>



-- 
Rohit Jain

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