ID:               24913
 User updated by:  djain at gmx dot net
 Reported By:      djain at gmx dot net
-Status:           Bogus
+Status:           Open
 Bug Type:         *Compile Issues
 Operating System: CygWin NT5
 PHP Version:      4CVS-2003-08-01 (stable)
 New Comment:

If CygWin is not a supported build environment, how come the configure
script explicitly checks for it: "checking for CygWin environment".

And PHP can be compiled on CygWin with no problems as long as you don't
use C++. And even if you use C++, there are no problems except that
configure thinks the C++ compiler is incapable of producing
executables. So I had to modify configure not to exit after detecting
that the compiler is supposedly incapable of producing executables.

It really has nothing to do with my extension at all. You can use any
(C++) extension that has PHP_REQUIRE_CXX() in the config.m4 file.


Previous Comments:
------------------------------------------------------------------------

[2003-08-01 19:44:08] [EMAIL PROTECTED]

cygwin is not a supported build environment for PHP.
We didn't write your extension.
You didn't give enough info for us to know what is going wrong.

This is not a bug in php, so marking as bogus.
If you have problems developing extensions, ask on the internals
mailing list.

------------------------------------------------------------------------

[2003-08-01 19:11:24] djain at gmx dot net

Description:
------------
Under CygWin, when compiling with an extension that uses C++, configure
reports "C++ compiler cannot create executables" and exits (./configure
--with-myextension).
I'm using the latest version of CygWin with gcc 3.2 20020927.

After uncommenting the corresponding line in the configure script, I
was able to successfully build PHP with my C++ extension.

I originally used php 4.3.2, the latest CVS version didn't work either.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24913&edit=1

Reply via email to