libexpat/expat/win32
2003-01-28 15:26:59 +00:00
..
.gitignore No longer need to ignore MSVC turds in this directory. 2001-07-27 14:40:42 +00:00
expat.iss Add win32/README.txt to the Source/ directory that gets installed. 2003-01-28 15:26:59 +00:00
MANIFEST.txt Replace tabs with spaces. 2003-01-25 16:25:34 +00:00
README.txt Clarified runtime linking issues. 2002-12-07 14:18:50 +00:00

Expat can be built on Windows in three ways: 
  using MS Visual C++ 6, Borland C++ Builder 5 or Cygwin.

* Cygwin:
  This follows the Unix build procedures.

* C++ Builder 5:
  Possible with make files in the BCB5 subdirectory.
  Details can be found in the ReadMe file located there.

* MS Visual C++ 6:
  Based on workspace (.dsw) and project files (.dsp)
  located in the lib subdirectory.

* Special note about MS VC++ and runtime libraries:

  There are three possible configurations: using the
  single threaded or multithreaded run-time library,
  or using the multi-threaded run-time Dll. That is, 
  one can build three different Expat libraries depending
  on the needs of the application.

  Dynamic Linking:

  By default the Expat Dlls are built to link with the
  multi-threaded run-time Dll. The libraries are named
  - libexpat(w).dll 
  - libexpat(w).lib (import library)
  The "w" indicates the UTF-16 version of the library.

  One rarely uses other versions of the Dll, but they can
  be built easily by specifying a different RTL linkage in
  the IDE on the C/C++ tab under the category Code Generation.

  Static Linking:

  The libraries should be named like this:
  Single-theaded:     libexpat(w)ML.lib
  Multi-threaded:     libexpat(w)MT.lib
  Multi-threaded Dll: libexpat(w)MD.lib
  The suffixes conform to the compiler switch settings
  /ML, /MT and /MD for MS VC++.

  By default, the expat-static and expatw-static projects are set up
  to link dynamically against the multithreaded run-time library,
  so they will build libexpatMT.lib or libexpatwMT.lib files.

  To build the other versions of the static library, 
  go to Project - Settings:
  - specify a different RTL linkage on the C/C++ tab
    under the category Code Generation.
  - then, on the Library tab, change the output file name
    accordingly, as described above

  An application linking to the static libraries must
  have the global macro XML_STATIC defined.
   @