Descriptioncmd/cgo: add support for function export for gccgo.
A "gccgoprefix" flag is added and used by the go tool,
to mirror the -fgo-prefix flag for gccgo, whose value
is required to know how to access functions from C.
Trying to export Go methods or unexported Go functions
will not work.
Also fix go test on "main" packages.
Updates issue 2313.
Fixes issue 3262.
Patch Set 1 #Patch Set 2 : diff -r 20edbffdf421 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 20edbffdf421 https://go.googlecode.com/hg/ #
Total comments: 10
Patch Set 4 : diff -r 9d54c838381c https://go.googlecode.com/hg/ #Patch Set 5 : diff -r ae443f313c8f https://go.googlecode.com/hg/ #
MessagesTotal messages: 12
|