internals:windows:libs:libxml2

This is an old revision of the document!


libxml2

libxml2 is the XML C parser and toolkit developed for the Gnome project from http://www.xmlsoft.org/

PHP currently uses version 2.6.32 released 2008.04.08

Currently, we build our own library in order to be in synch with our custom libxslt build. The standard options are used when building, using the following configure:

If the standard directory structure, is used, it is possible to simply “<path to iconv lib dir>” with c:\php-sdk\libs_build\vc9\x86\deps for example (in this case, for the VC9-x86 build).

For sources and up-to-date information see https://github.com/winlibs/libxml2.

Configure line VC6 non debug:

cscript configure.js lib="<path to iconv lib dir>" include="<path to iconv header dir>"

Configure line VC6 debug:

cscript configure.js lib="<path to iconv lib dir>" include="<path to iconv header dir>" debug=yes mem_debug=yes

Configure line VC9 non debug:

cscript configure.js lib="<path to iconv lib dir>" include="<path to iconv header dir>" vcmanifest=yes

Configure line VC9 debug:

cscript configure.js lib="<path to iconv lib dir>" include="<path to iconv header dir>"  debug=yes mem_debug=yes  vcmanifest=yes

libxml2_a_dll.lib MUST be used with PHP.

internals/windows/libs/libxml2.1361452913.txt.gz · Last modified: 2017/09/22 13:28 (external edit)