cpp needed for samba compilation ?

Michael Wood esiotrot at gmail.com
Sat Dec 4 15:32:16 MST 2010


On 5 December 2010 00:13, Matthieu Patou <mat at samba.org> wrote:
> On 05/12/2010 00:14, Michael Wood wrote:
>>
>> Hi
>>
>> On 4 December 2010 22:46, Matthieu Patou<mat at samba.org>  wrote:
>>>
>>> Hi Metze,
>>>>
>>>> Am 04.12.2010 14:04, schrieb Matthieu Patou:
>>>>>
>>>>> Hello all,
>>>>>
>>>>> Today I discovered that we need CPP for the compilation of pidl files.
>>>>>
>>>>> My question: why ?
>>>>>
>>>>> How can we avoid this dependency ?
>>>>
>>>> we can't, but we should set a PIDL_CPP env var
>>>> and waf magic should fill that in.
>>>> I guess we can use "$compiler -E" or so
>>>
>>> On sernet's aix it seems that c++ is not available ...
>>
>> I believe pidl needs the C Preprocessor, not a C++ compiler.
>
> Well I guess that we should have CC as a requirement rather than CPP I guess
> that it has been done on purpose.
> But maybe we can use something else ...

My point is that cpp is the C preprocessor and not a C++ compiler.
But as metze says, you can probably use "cc -E" instead.

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list