Blame bakefile/Readme.txt

Packit Service a31ea6

Packit Service a31ea6
 LIBXML2 build system for Win32 README
Packit Service a31ea6
 -------------------------------------
Packit Service a31ea6

Packit Service a31ea6
 In this folder are stored all the files required to compile LIBXML2 with win32 compilers.
Packit Service a31ea6
 Bakefile (http://bakefile.sourceforge.net) is used as makefile generator.
Packit Service a31ea6

Packit Service a31ea6
 Supported makefiles:
Packit Service a31ea6
 - makefile.vc     for Microsoft NMAKE
Packit Service a31ea6
 - makefile.bcc    for Borland MAKE
Packit Service a31ea6
 - makefile.wat    for OpenWatcom MAKE
Packit Service a31ea6
 - makefile.gcc    for MinGW MINGW32-MAKE
Packit Service a31ea6
 - all DSP & DSW   for Microsoft VisualC++ 6.0 (can be used also with VS.NET AFAIK)
Packit Service a31ea6

Packit Service a31ea6
 This readme is organized as:
Packit Service a31ea6
   1.0 HOWTO compile LIBXML2 using makefiles     <-- for users who want to build the library using *command-line*
Packit Service a31ea6
   1.1 HOWTO compile LIBXML2 using an IDE        <-- for users who want to build the library using an *IDE*
Packit Service a31ea6
   1.2 HOWTO regenerate makefiles for LIBXML2    <-- for libxml2 mantainers/developers/advanced users
Packit Service a31ea6

Packit Service a31ea6
 If you just want to compile the library (and the test programs) you should definitely avoid the
Packit Service a31ea6
 section 1.1 and focus on the 1.0.
Packit Service a31ea6
 
Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6
 1.0 HOWTO compile LIBXML2 using makefiles
Packit Service a31ea6
 -----------------------------------------
Packit Service a31ea6
 
Packit Service a31ea6
 Choose your preferred compiler among those actually supported (see above) and then run
Packit Service a31ea6
 
Packit Service a31ea6
                              mycompilermake -fmakefile.makefileext [options]
Packit Service a31ea6

Packit Service a31ea6
 for a full list of the available options you should open with a notepad (or something like that)
Packit Service a31ea6
 the makefile you want to use; at the beginning you should see a section which starts as:
Packit Service a31ea6

Packit Service a31ea6
     # -------------------------------------------------------------------------
Packit Service a31ea6
     # These are configurable options:
Packit Service a31ea6
     # -------------------------------------------------------------------------
Packit Service a31ea6

Packit Service a31ea6
 here you can find all the options actually used by that makefile. 
Packit Service a31ea6
 They can be customized when running the makefile writing something like:
Packit Service a31ea6

Packit Service a31ea6
 nmake -fmakefile.vc BUILD=release
Packit Service a31ea6
 mingw32-make -fmakefile.gcc BUILD=debug ICONV_DIR=c:\myiconv
Packit Service a31ea6

Packit Service a31ea6
 or they can be permanently changed modifying the makefile.
Packit Service a31ea6
 That's all: for any problem/compile-error/suggestion, write to 
Packit Service a31ea6
 frm@users.sourceforge.net with the word "libxml2" in the subject.
Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6
 1.1 HOWTO compile LIBXML2 using an IDE
Packit Service a31ea6
 --------------------------------------
Packit Service a31ea6
 
Packit Service a31ea6
 Actually only the Microsoft VisualC++ 6.0 project files are generated.
Packit Service a31ea6
 In future other Integrated Development Environments (IDEs) will be supported as well.
Packit Service a31ea6
 
Packit Service a31ea6
 With MSVC++ 6.0, you should open the DSW file and then set as the active project the
Packit Service a31ea6
 "libxml2" project, if you want to build the library or one of the test projects if you
Packit Service a31ea6
 want to run them.
Packit Service a31ea6
 Using the command "Build->Set Active Configuration" you can choose one of the predefined
Packit Service a31ea6
 configuration.
Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6
 1.2 HOWTO regenerate makefiles for LIBXML2
Packit Service a31ea6
 ------------------------------------------
Packit Service a31ea6
 
Packit Service a31ea6
 Be sure to have installed Bakefile (http://bakefile.sourceforge.net).
Packit Service a31ea6
 Just run the "bakefile_gen" command inside the folder containing the "libxml2.bkl" file.
Packit Service a31ea6
 NOTE: if you want to remove all the makefiles, you can use the "bakefile_gen -c" command.
Packit Service a31ea6
 
Packit Service a31ea6
 The template files used to generate all makefiles are only two:
Packit Service a31ea6
 - libxml2.bkl      (the main one)
Packit Service a31ea6
 - Bakefiles.bkgen
Packit Service a31ea6
 All the other files can be dinamically regenerated.
Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6

Packit Service a31ea6
 If you have problems with the compilation of LIBXML2 under windows (using one of the supported compiler)
Packit Service a31ea6
 please write to:
Packit Service a31ea6

Packit Service a31ea6
     Francesco Montorsi <frm@users.sourceforge.net>
Packit Service a31ea6