On Sat, Dec 29, 2018 at 11:23 PM <eran.ya...@gmail.com> wrote:
>
> Any example on how I can build cgo code using custom toolchain?

I'm not sure what you are asking.  Even with a custom toolchain, can't
you just `go build`?

If you need to run cgo directly, there are some brief docs for that at
the bottom of https://golang.org/cmd/cgo.  Basically, run cgo, it will
generate some files, and then compile those files instead of the
original cgo-using files.

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.

Reply via email to