Descriptioncmd/go, cmd/cgo, make.bash: cross compiling with cgo enabled
Introduce two new environment variables, CC_FOR_TARGET and CXX_FOR_TARGET.
CC_FOR_TARGET defaults to CC and is used when compiling for GOARCH, while
CC remains for compiling for GOHOSTARCH.
CXX_FOR_TARGET defaults to CXX and is used when compiling C++ code for
GOARCH.
CGO_ENABLED defaults to disabled when cross compiling and has to be
explicitly enabled.
Update issue 4714
Patch Set 1 #Patch Set 2 : diff -r 94165b19719e https://code.google.com/p/go #Patch Set 3 : diff -r 94165b19719e https://code.google.com/p/go #
Total comments: 2
Patch Set 4 : diff -r 94165b19719e https://code.google.com/p/go #Patch Set 5 : diff -r 94165b19719e https://code.google.com/p/go #Patch Set 6 : diff -r 8946341a227b https://code.google.com/p/go #Patch Set 7 : diff -r 8946341a227b https://code.google.com/p/go #
Total comments: 3
Patch Set 8 : diff -r 8946341a227b https://code.google.com/p/go #
MessagesTotal messages: 20
|