> 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 lit
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 spo
>
> fwiw, I've never had these problems with gcc's C++ compiler on Solaris when
> building C++ extensions, and the final linking step is usually done by gcc,
> not g++. When you do the linking, do you link to the stdc++ library?
Unlike GCC, Sun's C and C++ compilers are independent entities, there