source: trunk/poppler/expat-1.95.8/win32/README.txt @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 2.1 KB
Line 
1
2Expat can be built on Windows in three ways:
3  using MS Visual C++ (6.0 or .NET), Borland C++ Builder 5 or Cygwin.
4
5* Cygwin:
6  This follows the Unix build procedures.
7
8* C++ Builder 5:
9  Possible with make files in the BCB5 subdirectory.
10  Details can be found in the ReadMe file located there.
11
12* MS Visual C++ 6:
13  Based on the workspace file expat.dsw. The related project
14  files (.dsp) are located in the lib subdirectory.
15
16* MS Visual Studio .NET 2002, 2003:
17  The VC++ 6 workspace file (expat.dsw) and project files (.dsp)
18  can be opened and imported in VS.NET without problems.
19
20* Special note about MS VC++ and runtime libraries:
21
22  There are three possible configurations: using the
23  single threaded or multithreaded run-time library,
24  or using the multi-threaded run-time Dll. That is,
25  one can build three different Expat libraries depending
26  on the needs of the application.
27
28  Dynamic Linking:
29
30  By default the Expat Dlls are built to link statically
31  with the multi-threaded run-time library.
32  The libraries are named
33  - libexpat(w).dll
34  - libexpat(w).lib (import library)
35  The "w" indicates the UTF-16 version of the library.
36
37  One rarely uses other versions of the Dll, but they can
38  be built easily by specifying a different RTL linkage in
39  the IDE on the C/C++ tab under the category Code Generation.
40
41  Static Linking:
42
43  The libraries should be named like this:
44  Single-theaded:     libexpat(w)ML.lib
45  Multi-threaded:     libexpat(w)MT.lib
46  Multi-threaded Dll: libexpat(w)MD.lib
47  The suffixes conform to the compiler switch settings
48  /ML, /MT and /MD for MS VC++.
49
50  By default, the expat-static and expatw-static projects are set up
51  to link statically against the multithreaded run-time library,
52  so they will build libexpatMT.lib or libexpatwMT.lib files.
53
54  To build the other versions of the static library,
55  go to Project - Settings:
56  - specify a different RTL linkage on the C/C++ tab
57    under the category Code Generation.
58  - then, on the Library tab, change the output file name
59    accordingly, as described above
60
61  An application linking to the static libraries must
62  have the global macro XML_STATIC defined.
63   
Note: See TracBrowser for help on using the repository browser.