Is it possible to convince waf to use g++ for linking certain modules?

Richard Sharpe realrichardsharpe at
Mon Mar 23 14:47:01 MDT 2015

Hi folks,

I need to like some C++ generated code to a Samba module (protobufs
stuff) and I am having problems with undefined references to stuff
that looks like it is in std::basic_ios<blah blah>

I have managed to convince waf to pass -lstdc++ but that has not
helped and some people are claiming that I should link with g++ for
that module.

Does anyone have any ideas on how to convince waf to use g++ for that link?

Richard Sharpe

More information about the samba-technical mailing list