Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37502 invoked by uid 1010); 20 Nov 2003 21:45:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37478 invoked from network); 20 Nov 2003 21:45:41 -0000 Received: from unknown (HELO mail.kromann.info) (64.186.239.125) by pb1.pair.com with SMTP; 20 Nov 2003 21:45:41 -0000 Received: from Swwwing2000 (unknown [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 2BC0C2AE70; Thu, 20 Nov 2003 14:03:13 -0800 (PST) To: Rob Richards Cc: X-Mailer: Swwwing 2000 Message-ID: <10693646724800000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Thu, 20 Nov 2003 13:44:32 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] windows build with libxml and iconv From: frank@kromann.info ("Frank M. Kromann") Hi Rob, I'm using iconv 1.9.1 and I get problems with _libiconv_version it does'nt seam to be in the lib file. If I remove this from the exports I can build and link php4dllts.lib and php_xls.dll without problems but not php_iconv.dll. I'll try to resolve this. I also move the @echo off to the top of the builddef.bat file to avoid echo's in the def file - Frank > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >