tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cpp in OS X, information needed



On Sun, Dec 20, 2009 at 12:18 PM, OBATA Akio <obache%netbsd.org@localhost> 
wrote:
> Hi!
>
> On Sun, 20 Dec 2009 21:09:28 +0900, Julio Merino <jmmv84%gmail.com@localhost> 
> wrote:
>
>> Hello,
>>
>> I'm investigating why pkgsrc sets CPP to gcc in OS X.  The comment in
>> the code says it's because we need to use the gcc-provided cpp, but in
>> Leopard cpp is just a wrapper around gcc.
>>
>> If you have 10.4 or earlier, could you please provide the following
>> details?
>
> On my accessible 10.4.11:
>
>> - Whether /usr/bin/cpp is a script or a binary.
>
> script (wrapper of gcc -E ?)

Thanks!

>> Depending on the information we get, we may revert the special setting
>> in OS X and just use cpp.
>
> For safe side, how about setting conditionally?
> keep current settings for ancient Darwin.

No because the current situation breaks the new libtool badly.  I want
to fix it everywhere and then remove the workaround I put in f2c.

Also, the question is: what versions of OS X do we care about?  Are we
really interested in supporting the ancient toolchain that may be in,
e.g. OS X 10.2?

-- 
Julio Merino


Home | Main Index | Thread Index | Old Index