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

Richard Sharpe realrichardsharpe at gmail.com
Mon Mar 23 15:33:19 MDT 2015


On Mon, Mar 23, 2015 at 2:18 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
>
> 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.

OK, thanks to both Thomas and Jelmer.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list