codeskyblue / gobuild

not maintained, moved to https://github.com/gobuild/gobuild
GNU General Public License v2.0
200 stars 18 forks source link

About CGO support #37

Closed matrixik closed 9 years ago

matrixik commented 10 years ago

There is possible to cross compile with CGO support: check how gonative is doing it: https://github.com/inconshreveable/gonative

codeskyblue commented 10 years ago

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.

matrixik commented 10 years ago

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

matrixik commented 10 years ago

Another new tool: https://github.com/karalabe/xgo

codeskyblue commented 9 years ago

busy at work recent days. Begin to restart gobuild soon. Thanks very much matrixik.

codeskyblue commented 9 years ago

supported in gobuild3 now. The beta website is in http://beta.gobuild.io

codeskyblue commented 9 years ago

thanks @matrixik

codeskyblue commented 9 years ago

@matrixik I leave this issue for you to close.

matrixik commented 9 years ago

It's great you made a progress with that. Thank you.