--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
On Dec 15, 2013 10:31 AM, "Sebastian Kosch" <koschse...@googlemail.com> wrote:
> The problem is that cgo doesn't work with C++ code, which forces us to use SWIG. But the automagical compiling and linking of the files that happens when you write a .swigcxx file, which works great in principle, doesn't seem to have a documented way of telling the C++ linker what libs to link to. Is that clearer at all?
cmd/go supports building c++ code along with a go package, so if write a "-style extern "C" wrapper for you C++ library, you can still use cgo. And cgo supports proper indication of libraries to be linked via LDFLAGS or pkgconfig.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/O8nQ_2_bXrE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.