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

Jelmer Vernooij jelmer at samba.org
Mon Mar 23 15:18:34 MDT 2015


On 23/03/15 20:47, Richard Sharpe wrote:
> 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?
>
For waf itself, see its documentation:
http://docs.waf.googlecode.com/git/apidocs_16/tutorial.html

However, you'll need some modifications to wafsamba/ to have it invoke
the underlying waf functions in the right way.

Jelmer


More information about the samba-technical mailing list