Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5614 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6383 invoked by uid 1010); 20 Nov 2003 12:22:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6357 invoked from network); 20 Nov 2003 12:22:50 -0000 Received: from unknown (HELO phoebe.host4u.net) (209.150.128.26) by pb1.pair.com with SMTP; 20 Nov 2003 12:22:50 -0000 Received: from ctdprimary (dsta-aa203.pivot.net [66.186.171.203]) by phoebe.host4u.net (8.11.6/8.11.6) with SMTP id hAKCMoM28117 for ; Thu, 20 Nov 2003 06:22:50 -0600 Message-ID: <01b601c3af61$3829d520$f7dea8c0@cyberware.local> To: Date: Thu, 20 Nov 2003 07:24:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: windows build with libxml and iconv From: rrichards@ctindustries.net ("Rob Richards") Can someone with a clean windows build test the changes for the libxml/iconv linking. I believe it is working, but have so many copies of libxml/libxslt on my system I cant be 100% sure that it is. A few things. It currently is exporting all libxml symbols. It looks like there may be about 200K difference if we only export those we need, so any opinions on full or partial export? Also still trying to libxml to include all iconv symbols so that iconv is not needed in php4dllts.dsp to export its symbols. Not sure if this is necessary as compiler may be optimizing out the redundant functions. For Edin's builds we are going to need to seperate libs for the branches as these wont work with php 4 - libxml may, but libxslt wont as its static build is now linked dynamically against libxml. www.ctindustries.net/patches/winphplibxml.zip contains the libxml, libxslt as well as iconv files for building. iconv is the stock version, but is included for versioning. libxml.dll and libxslt/libexslt dlls are not needed, as we only need the static libs, but are included. php_libxml2.def needs to be placed in the ext/libxml directory. libxml is version 2.5.11, libxslt is version 1.0.33 and iconv is version 1.8 http://www.ctindustries.net/patches/winlibxml.diff.txt diff is only for the debug build right now. iconv.dsp was changed to link against php4ts_debug.lib for its iconv symbols. Seems to work though there's still an open bug (#26194) so the iconv() function isnt working. xsl.dsp was changed to link against php4ts_debug.lib for its libxml and iconv symbols php4dllts.dsp statically links against libxml and iconv. Edin, hopefully this is what you were looking for. Rob