Re: libgo patch committed: Build libnetgo.a

2015-04-08 Thread Lynn A. Boger
I see there is some documentation about build constraints in go/go/build/doc.go. There is no mention of netgo on this page now but this seems like an appropriate spot to mention the use of the netgo tag for gc and then how to achieve the equivalent effect with gccgo. On 04/07/2015 01:09 PM, Ian

libgo patch committed: Build libnetgo.a

2015-04-07 Thread Ian Lance Taylor
PR 63731 points out that when using gccgo there is no way to request a Go program that uses the native Go DNS lookup code rather than using the system libraries. This patch from Lynn Boger at least provides a mechanism for that, by adding a -lnetgo library that can be used to pick up the Go DNS lo