Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32678 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63819 invoked by uid 1010); 6 Oct 2007 18:13:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63798 invoked from network); 6 Oct 2007 18:13:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2007 18:13:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:52986] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/9B-26050-650D7074 for ; Sat, 06 Oct 2007 14:13:42 -0400 Received: from MBOERGER-ZRH (unknown [216.239.45.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id F1DEB1B3654; Sat, 6 Oct 2007 20:13:36 +0200 (CEST) Date: Sat, 6 Oct 2007 20:13:33 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1027236626.20071006201333@marcus-boerger.de> To: Andi Gutmans CC: Nuno Lopes , Pierre , PHP Internals List , Rob Richards , "Frank M. Kromann" , Edin Kadribasic , Dmitry Stogov In-Reply-To: <698DE66518E7CA45812BD18E807866CEC124AC@us-ex1.zend.net> References: <219701324.20071003170756@marcus-boerger.de> <019c01c80605$307c6140$4001a8c0@pc07653> <698DE66518E7CA45812BD18E807866CEC124AC@us-ex1.zend.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] VS 2005 Support for 5.3? From: helly@php.net (Marcus Boerger) Hello Andi, most struct sizes do not matter in the windows API (becasue it takes care of that). The problem actually lies in the POSIX stuff and the modified stuff as well as the new *_r() and *_l() and what not functions that do not exist in the older functions. A thing that hurts first is the memory allocation. Basically this boils down to that you have to bind statically and may not share any malloc block to get freed in the other code. Between VC6, 2002, 2003, 2005 I had various attempts of getting cross build libs/binaries work and never had real success (and don't ask why I tried it). marcus Thursday, October 4, 2007, 1:14:45 AM, you wrote: > Although it may work for you with your applications unless all of your > 3rd party libs are compiled with VS 2005 there's a fair chance that > you'll have issues when data structures are passed between PHP which is > compiled against one CRT lib to DLLs which were compiled with older > versions (different size of structures, etc...) >> -----Original Message----- >> From: Nuno Lopes [mailto:nlopess@php.net] >> Sent: Wednesday, October 03, 2007 2:35 PM >> To: Pierre; Marcus Boerger >> Cc: PHP Internals List; Rob Richards; Frank M. Kromann; Edin >> Kadribasic; Dmitry Stogov >> Subject: Re: [PHP-DEV] VS 2005 Support for 5.3? >> >> > I already use 2k3 to compile my binaries or to develop, it works >> > pretty well. The 2k5 brings more change and require a couple of >> > important changes in our build (like the manifest support or what >> > other describe in this thread). >> >> Uhm I use VS 2005 to build PHP (vanila) for quite some time and it >> works >> pretty well. I even use some of Edin's compiled libraries. >> Disclaimer: I don't use those binaries in production. I only use them >> to >> debug PHP bugs on windows >> >> Nuno >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php Best regards, Marcus