On Thu, Apr 13, 2017 at 11:40 AM, larry104 <larg.weil...@gmail.com> wrote: >> >> >> The go tool will run whichever one is first on your PATH. >> >> Ian > > > My mistake - there was a typo - Tracing what go build does with the -x > option shows that swig run correct now (interface file with .swigcxx > extension). Then it seems cg0 compiles all files in the _obj file with gcc4 > but when it comes to g++4 for my own c++ class it fails. // #cgo > CFLAGS/LDFLAGS adds preprocessing directives to cgo - is there a > preprocessing directive for c++4 as well?
CXXFLAGS See https://golang.org/cmd/cgo . Ian -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.