About CGO support
matrixik opened this issue · 8 comments
There is possible to cross compile with CGO support:
check how gonative is doing it: https://github.com/inconshreveable/gonative
but, the gonative README said:
Cross compiled Go binaries are not suitable for production applications because code in the standard library relies on Cgo for DNS resolution with the native resolver, access to system certificate roots, and parts of os/user.
Yes, but why you stopped reading there?
Very next line:
gonative is a simple tool which creates a build of Go that can cross compile to all platforms while still using the Cgo-enabled versions of the stdlib packages
Another new tool:
https://github.com/karalabe/xgo
busy at work recent days. Begin to restart gobuild soon. Thanks very much matrixik.
supported in gobuild3 now. The beta website is in http://beta.gobuild.io
thanks @matrixik
@matrixik I leave this issue for you to close.
It's great you made a progress with that.
Thank you.