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

cygwin tests are from libtool/autoconf, those we can't remove. We do
NOT support Cygwin, period.
(and it's likely that your config.m4 is borked, and that is definately
NOT our problem.



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

[2003-08-01 21:40:50] djain at gmx dot net

And why do you assume I am having trouble developing extensions? As I
said, it worked fine after modifying configure.

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

[2003-08-01 21:28:42] djain at gmx dot net

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.

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

[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