expat/win32 README.txt,1.1,1.2
"Karl Waclawek" <[email protected]>
| Newsgroups | gmane.text.xml.expat.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/expat/expat/win32 In directory sc8-pr-cvs1:/tmp/cvs-serv14583 Modified Files: README.txt Log Message: Clarified runtime linking issues. Index: README.txt =================================================================== RCS file: /cvsroot/expat/expat/win32/README.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- README.txt 21 Oct 2002 21:19:41 -0000 1.1 +++ README.txt 7 Dec 2002 14:18:50 -0000 1.2 @@ -13,7 +13,7 @@ Based on workspace (.dsw) and project files (.dsp) located in the lib subdirectory. -* Special note about building static libraries under MS VC++: +* Special note about MS VC++ and runtime libraries: There are three possible configurations: using the single threaded or multithreaded run-time library, @@ -21,15 +21,29 @@ 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: libexpatML.lib - Multi-threaded: libexpatMT.lib - Multi-threaded Dll: libexpatMD.lib + 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 against the multithreaded run-time library, + 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,