You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by bo...@apache.org on 2008/09/24 15:47:17 UTC

svn commit: r698570 - /xerces/c/trunk/doc/build.xml

Author: borisk
Date: Wed Sep 24 06:47:16 2008
New Revision: 698570

URL: http://svn.apache.org/viewvc?rev=698570&view=rev
Log:
Change XML_LIBRARY to XERCES_STATIC_LIBRARY.

Modified:
    xerces/c/trunk/doc/build.xml

Modified: xerces/c/trunk/doc/build.xml
URL: http://svn.apache.org/viewvc/xerces/c/trunk/doc/build.xml?rev=698570&r1=698569&r2=698570&view=diff
==============================================================================
--- xerces/c/trunk/doc/build.xml (original)
+++ xerces/c/trunk/doc/build.xml Wed Sep 24 06:47:16 2008
@@ -269,15 +269,6 @@
           may use the <code>LD_LIBRARY_PATH</code> environment variable,
           Cygwin and MinGW use the <code>PATH</code> environment variable.
         </note>
-
-        <note>
-          On the MinGW platform when linking against the static
-          &XercesCName; library, make sure you compile your application
-          with the <code>-DXML_LIBRARY</code> preprocessor flag. Otherwise
-          the functions in the header files will be marked as to be
-          imported from a DLL and the linker will be unable to resolve
-          the &XercesCName; symbols.
-        </note>
     </s3>
 
     <anchor name="Windows"/>
@@ -311,11 +302,11 @@
                and also that the associated DLL is somewhere in the
                executable/DLL search path (<code>PATH</code>).</p>
 
-            <note>If you are linking your application to a static library,
+            <note>If you are linking your application to the static
+                  &XercesCName; library,
                   then you will need to compile your application with the
-                  XML_LIBRARY preprocessor define in order
-                  to turn off the DLL import/export mechanism. This is
-                  also the case for the MinGW platform.</note>
+                  XERCES_STATIC_LIBRARY preprocessor macro defined in order
+                  to turn off the DLL import/export mechanism.</note>
 
             <p>If you would also like to build tests and/or samples, inside
                the solution files mentioned above (<code>xerces-all.dsw</code>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org