Re: Re: Support for C++ extension in UNIX builds
| From: | Mark Spruiell | Date: | Fri, 22 Aug 2003 21:49:53 +0000 |
| Subject: | Re: Re: Support for C++ extension in UNIX builds | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4136@lists.php.net to get a copy of this message | ||
> Mark Spruiell wrote:
>>
>> Unlike GCC, Sun's C and C++ compilers are independent entities, therefore
>> you can't link a C++ program or shared library when the C compiler is
>> driving the linker. It's also not possible to compile PHP's C code with
>> Sun's C++ compiler.
>>
>> I guess we're a little spoiled by GCC. :)
>>
>> - Mark
>>
>
> I suppose so. I rarely use Sun's compiler so I won't hazard a guess as to
> what's going on here. I guess you don't have access to gcc on that machine,
> eh?
GCC works great for me on Linux, but we haven't needed to port our code to GCC
on Solaris yet.
- Mark