Re: Building C++ extensions

From: Date: Mon, 25 Sep 2006 21:25:12 +0000
Subject: Re: Building C++ extensions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-25829@lists.php.net to get a copy of this message
On 9/25/06, Stut <stuttle@gmail.com> 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(). I do have a C++ ext internally here, and it still try to link with gcc and not g++. Still, it does work. Sincerely, Olivier

« previous php.internals (#25829) next »