You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make.pkg used to support both cgo and SWIG. Currently, `go build' supports cgo, but does
not support SWIG.
BTW, would it be possible to do something similar to cgo (maybe using `-dynimport' as
well?) in order to avoid having to ship a shared library with the executable?
The text was updated successfully, but these errors were encountered:
I am not planning SWIG support for Go 1.
Afterward, sure. The shared libraries will still
be necessary for a little while: we can't handle
C++ object files in the Go linker yet.
http://golang.org/cl/5845071 (delayed until after the Go 1 release).
In the long run we should be able to avoid building shared libraries. We can't do it in
the short run because 6l does not have enough support for C++. E.g., it doesn't build
global constructors or set up an exception table header.
by junyer:
The text was updated successfully, but these errors were encountered: