Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16503 invoked from network); 27 Dec 2012 12:19:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Dec 2012 12:19:15 -0000 X-Host-Fingerprint: 213.46.158.120 d158120.upc-d.chello.nl Received: from [213.46.158.120] ([213.46.158.120:17036] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/12-16827-0CC3CD05 for ; Thu, 27 Dec 2012 07:19:13 -0500 To: internals@lists.php.net Date: Thu, 27 Dec 2012 13:19:08 +0100 Message-ID: References: X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 213.46.158.120 Subject: Re: [PHP-DEV] Compiling PHP on Windows 7 - wiki needs update From: phpdev@ehrhardt.nl (Jan Ehrhardt) Hi Pierre, Pierre Joye in php.internals (Thu, 27 Dec 2012 06:56:42 +0100): >x64 builds are not yet officially supported. Not yet? That sounds if x64 will be supported sometime. Will it? >However nothing prevents one to do it. It should build fine. If you can get all dependencies right. For x86 many of them are available at http://windows.php.net/downloads/php-sdk/ But, for instance, libiconv_a.lib is nowhere available as precompiled binary for x64. And MS Visual C/C++ with "nmake" is no longer supported by GNU since iconv 1.11.1. So you will have to cook your own Makefiles or VCproj files. At the moment I am compiling 1.14 for x64 in VC10, but with the v90 Platform Toolset, so you'll end up with VC9 libs after all. About the deps on downloads/php-sdk: I see you are using different deps for PHP 5.3 and PHP 5.4 nowadays. Are the differences great? When I compile PHP for x86 I always use the same deps. Only for the non standard extensions couchdb and eAccelarator I have to use different sources because their PHP 5.4 adjustments are not backwards compatible. >5.3 and 5.4 builds are done using vc9 (vs 2008). It is strongly recommended >to use vc9 to build extensions targetting 5.3 or 5.4. What are the plans for 5.5? A transition to VC10? I once tried to use my existing php-sdk setup to compile PHP 5.4 with VC10, but not all compilations succeeded. Compilation failed for php_intl.dll failed with these errors: C:\php-sdk\php54dev>nmake php_intl.dll | find "error" Microsoft (R) Program Maintenance Utility Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved. .\win32/php_stdint.h(101) : error C2371: 'int_fast16_t' : redefinition; different basic types .\win32/php_stdint.h(105) : error C2371: 'uint_fast16_t' : redefinition; different basic types NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' : return code '0x2' Stop. I did not dig into it to find out how to solve it, because I also got VC++ Runtime errors. VC9 is good enough for the moment. Jan