Re: [PHP-DEV] Support for C++ extension in UNIX builds

2003-08-22 Thread Mark Spruiell
>> On Solaris with Sun CC, however, I've had to manually edit the >> Makefile or the libtool script in order to successfully build >> my extension. When I compile the extension into PHP, I have to >> change $(CC) to $(CXX) in certain places in the Makefile. > > *.cpp files are automatically com

Re: [PHP-DEV] Support for C++ extension in UNIX builds

2003-08-19 Thread Sascha Schumann
> On Solaris with Sun CC, however, I've had to manually edit the > Makefile or the libtool script in order to successfully build > my extension. When I compile the extension into PHP, I have to > change $(CC) to $(CXX) in certain places in the Makefile. *.cpp files are automatically compiled u

Re: [PHP-DEV] Support for C++ extension in UNIX builds

2003-08-19 Thread Mark Spruiell
> >Add PHP_REQUIRE_CXX to your config.m4 Thanks for the reply, but I've already got PHP_REQUIRE_CXX in my config.m4, and I'm setting the cxx flag in PHP_NEW_EXTENSION. Is there anything else I'm missing? - Mark >--Jani > > > On Tue, 19 Aug 2003, Mark Spruiell wrote: > >>I've written a P

Re: [PHP-DEV] Support for C++ extension in UNIX builds

2003-08-19 Thread Jani Taskinen
Add PHP_REQUIRE_CXX to your config.m4 --Jani On Tue, 19 Aug 2003, Mark Spruiell wrote: >I've written a PHP5 extension in C++ that builds great on Linux with GCC, whether I >compile it >into PHP or build it as a shared library. > >On Solaris with Sun CC, however, I've had to ma

[PHP-DEV] Support for C++ extension in UNIX builds

2003-08-19 Thread Mark Spruiell
I've written a PHP5 extension in C++ that builds great on Linux with GCC, whether I compile it into PHP or build it as a shared library. On Solaris with Sun CC, however, I've had to manually edit the Makefile or the libtool script in order to successfully build my extension. When I compile the e