On Tue, Oct 7, 2008 at 3:37 PM, Scott MacVicar <[EMAIL PROTECTED]> wrote: > We don't currently support mingw. You can use the free compiler from > Microsoft if you wish to compile on Windows.
Yes but i see that it compiles with cygwin maybe i should do an define http://bugs.php.net/bug.php?id=40488 > > Scott > > marius popa wrote: >> I try to build php 5.2.6 with mingw stable >> >> and i disabled for the moment all the extensions and it fails quite fast >> >> >> ./configure --disable-all --prefix=/opt/php >> >> >> $ make >> /bin/sh /mingw/tmp/php-5.2.6/libtool --silent --preserve-dup-deps >> --mode=compile gcc -Iext/date/lib -Iext/date/ >> -I/mingw/tmp/php-5.2.6/ext/date/ -DPHP_ATOM_INC >> -I/mingw/tmp/php-5.2.6/include -I/mingw/tmp/php-5.2.6/main >> -I/mingw/tmp/php-5.2.6 -I/mingw/tmp/php-5.2.6/ext/date/lib >> -I/mingw/tmp/php-5.2.6/TSRM -I/mingw/tmp/php-5.2.6/Zend -I >> /c/usr/lib/icu/include/ -I /c/usr/lib/icu/include/unicode -I >> /c/usr/lib/icu/include/layout -I /c/usr/lib/icu -g -O2 -c >> /mingw/tmp/php-5.2.6/ext/date/php_date.c -o ext/date/php_date.lo >> In file included from c:/mingw/tmp/php-5.2.6/Zend/../TSRM/TSRM.h:18, >> from c:/mingw/tmp/php-5.2.6/Zend/zend_alloc.h:27, >> from c:/mingw/tmp/php-5.2.6/Zend/zend.h:236, >> from c:/mingw/tmp/php-5.2.6/main/php.h:34, >> from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: >> c:/mingw/tmp/php-5.2.6/Zend/../TSRM/tsrm_config.w32.h:10:20: crtdbg.h: >> No such file or directory >> In file included from c:/mingw/tmp/php-5.2.6/main/php_reentrancy.h:28, >> from c:/mingw/tmp/php-5.2.6/main/php.h:414, >> from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: >> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:23: >> error: redefinition of `struct dirent' >> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:58: >> error: conflicting types for 'DIR' >> >> >> >> $ gcc -v >> Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs >> Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc >> --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 >> --prefix=/mingw --enable-threads --disable-nls >> --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry >> --disable-shared --enable-sjlj-exceptions --enable-libgcj >> --disable-java-awt --without-x --enable-java-gc=boehm >> --disable-libgcj-debug --enable-interpreter >> --enable-hash-synchronization --enable-libstdcxx-debug >> Thread model: win32 >> gcc version 3.4.5 (mingw-vista special r3) >> > -- developer flamerobin.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php