summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorkwaclaw <kwaclaw>2002-10-21 21:19:41 +0000
committerkwaclaw <kwaclaw>2002-10-21 21:19:41 +0000
commit407ef9d08b61bac5ac65d143baaa681103169289 (patch)
tree0978d0b10a63a95f554cdfc541cad8f11a1c0ae5 /win32
parentaf06759eedd9f023d7dba16306ce3c60faeb4b00 (diff)
downloadlibexpat-407ef9d08b61bac5ac65d143baaa681103169289.tar.gz
* Applied patch #620822 - Windows Dll build with DEF file
* Changed macro for static linking from _STATIC to XML_STATIC and modified expat.h accordingly * Added ReadMe file to Win32 subdirectory documenting Windows builds * Changed static build settings to create libraries with names different from the Dll stub library libexpat(w).lib
Diffstat (limited to 'win32')
-rw-r--r--win32/README.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/win32/README.txt b/win32/README.txt
new file mode 100644
index 0000000..6e16b1c
--- /dev/null
+++ b/win32/README.txt
@@ -0,0 +1,44 @@
+
+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 building static libraries under MS VC++:
+
+ 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.
+
+ The libraries should be named like this:
+ Single-theaded: libexpatML.lib
+ Multi-threaded: libexpatMT.lib
+ Multi-threaded Dll: libexpatMD.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 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.
+ \ No newline at end of file