Bug #75412 [NEW]: Build with Mingw-w64
From: svnpenn at gmail dot com
Operating system: Windows
PHP version: 7.1.10
Package: *General Issues
Bug Type: Bug
Bug description:Build with Mingw-w64
Description:
------------
Currently you can build PHP with Linux, Cygwin and Visual Studio.
However
Mingw-w64 [1] is currently not supported. It would be invoked using:
./configure --host x86_64-w64-mingw32
or similar. You can tell for sure that is it not currently supported by
looking
at "u_char". Mingw-w64 does not define this, same as Visual Studio. PHP
accounts
for this with "win32/php_stdint.h" [2]:
typedef unsigned __int8 u_char;
However this same file cannot be used with Mingw-w64 [3]:
#error "Use this header only with Microsoft Visual C++ compilers!"
[1] http://mingw-w64.org
[2] http://github.com/php/php-src/blob/f56ceb7/win32/php_stdint.h#L264
[3] http://github.com/php/php-src/blob/f56ceb7/win32/php_stdint.h#L33
--
Edit bug report at https://bugs.php.net/bug.php?id=75412&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75412&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75412&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75412&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75412&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75412&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75412&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75412&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75412&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75412&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75412&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75412&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75412&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75412&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75412&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75412&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75412&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75412&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75412&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75412&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75412&r=mysqlcfg
Thread (14 messages)
- svnpenn at gmail dot com
- kalle@php.netBug #75412 [Opn->Ana]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- kalle@php.netBug #75412 [Ana->Fbk]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Fbk->Asn]: Build with Mingw-w64
- kalle@php.netBug #75412 [Asn->Fbk]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Fbk->Asn]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- kalle@php.netBug #75412 [Asn]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- svnpenn at gmail dot comBug #75412 [Com]: Build with Mingw-w64
- kalle@php.netReq #75412 [Asn->Opn]: Build with Mingw-w64