2 LIBXML2 build system for Win32 README
3 -------------------------------------
5 In this folder are stored all the files required to compile LIBXML2 with win32 compilers.
6 Bakefile (http://bakefile.sourceforge.net) is used as makefile generator.
9 - makefile.vc for Microsoft NMAKE
10 - makefile.bcc for Borland MAKE
11 - makefile.wat for OpenWatcom MAKE
12 - makefile.gcc for MinGW MINGW32-MAKE
13 - all DSP & DSW for Microsoft VisualC++ 6.0 (can be used also with VS.NET AFAIK)
15 This readme is organized as:
16 1.0 HOWTO compile LIBXML2 using makefiles <-- for users who want to build the library using *command-line*
17 1.1 HOWTO compile LIBXML2 using an IDE <-- for users who want to build the library using an *IDE*
18 1.2 HOWTO regenerate makefiles for LIBXML2 <-- for libxml2 mantainers/developers/advanced users
20 If you just want to compile the library (and the test programs) you should definitely avoid the
21 section 1.1 and focus on the 1.0.
28 1.0 HOWTO compile LIBXML2 using makefiles
29 -----------------------------------------
31 Choose your preferred compiler among those actually supported (see above) and then run
33 mycompilermake -fmakefile.makefileext [options]
35 for a full list of the available options you should open with a notepad (or something like that)
36 the makefile you want to use; at the beginning you should see a section which starts as:
38 # -------------------------------------------------------------------------
39 # These are configurable options:
40 # -------------------------------------------------------------------------
42 here you can find all the options actually used by that makefile.
43 They can be customized when running the makefile writing something like:
45 nmake -fmakefile.vc BUILD=release
46 mingw32-make -fmakefile.gcc BUILD=debug ICONV_DIR=c:\myiconv
48 or they can be permanently changed modifying the makefile.
49 That's all: for any problem/compile-error/suggestion, write to
50 frm@users.sourceforge.net with the word "libxml2" in the subject.
56 1.1 HOWTO compile LIBXML2 using an IDE
57 --------------------------------------
59 Actually only the Microsoft VisualC++ 6.0 project files are generated.
60 In future other Integrated Development Environments (IDEs) will be supported as well.
62 With MSVC++ 6.0, you should open the DSW file and then set as the active project the
63 "libxml2" project, if you want to build the library or one of the test projects if you
65 Using the command "Build->Set Active Configuration" you can choose one of the predefined
72 1.2 HOWTO regenerate makefiles for LIBXML2
73 ------------------------------------------
75 Be sure to have installed Bakefile (http://bakefile.sourceforge.net).
76 Just run the "bakefile_gen" command inside the folder containing the "libxml2.bkl" file.
77 NOTE: if you want to remove all the makefiles, you can use the "bakefile_gen -c" command.
79 The template files used to generate all makefiles are only two:
80 - libxml2.bkl (the main one)
82 All the other files can be dinamically regenerated.
88 If you have problems with the compilation of LIBXML2 under windows (using one of the supported compiler)
91 Francesco Montorsi <frm@users.sourceforge.net>