Re: [PHP-DEV] Building C++ extensions

2006-09-25 Thread Olivier Hill
On 9/25/06, Stut <[EMAIL PROTECTED]> wrote: I had expected the PHP_REQUIRE_CXX() macro to trigger a change to the link command, but it does not seem to have done anything beyond influencing what is used to compile the extension itself. Hi, I think you have to add stdc++ with PHP_ADD_LIBRARY()

Re: [PHP-DEV] Building C++ extensions

2006-09-25 Thread Antony Dovgal
On 26.09.2006 01:09, Stut wrote: Ok, so I've built an extension that uses a C++ library. It compiles fine but the build system is insisting on linking with gcc no matter what I tell it. Is there some simple trick I'm missing as far as convincing it to use g++ goes? Here is the config.m4 in ca