You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

467 lines
47 KiB

  1. <HTML><HEAD><META content="text/html; charset=utf8" http-equiv="Content-Type"><SCRIPT language="JavaScript" src="resources/script.js" type="text/javascript"></SCRIPT><TITLE>Build Instructions</TITLE></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="graphics/build-3-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');" src="resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');" src="resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');" src="resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="resources/join.gif" vspace="0" width="120"><BR>
  2. <A href="../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Xerces Project" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','graphics/ext-2-label-2.jpg','graphics/ext-2-label-3.jpg');" src="graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
  3. <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  4. <A href="index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Overview" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','graphics/index-label-2.jpg','graphics/index-label-3.jpg');" src="graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
  5. <A href="charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','graphics/charter-label-2.jpg','graphics/charter-label-3.jpg');" src="graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR>
  6. <A href="releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','graphics/releases-label-2.jpg','graphics/releases-label-3.jpg');" src="graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
  7. <A href="secadv.html" onMouseOut="rolloverOff('side-secadv');" onMouseOver="rolloverOn('side-secadv');"><IMG alt="Advisories" border="0" height="12" hspace="0" name="side-secadv" onLoad="rolloverLoad('side-secadv','graphics/secadv-label-2.jpg','graphics/secadv-label-3.jpg');" src="graphics/secadv-label-3.jpg" vspace="0" width="120"></A><BR>
  8. <A href="http://xerces.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','graphics/ext-18-label-2.jpg','graphics/ext-18-label-3.jpg');" src="graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
  9. <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  10. <IMG alt="Xerces-C++ 3.1.2" border="0" height="17" hspace="0" name="side-sect-24" src="graphics/sect-24-label.jpg" vspace="0" width="120"><BR>
  11. <A href="install-3.html" onMouseOut="rolloverOff('side-install-3');" onMouseOver="rolloverOn('side-install-3');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install-3" onLoad="rolloverLoad('side-install-3','graphics/install-3-label-2.jpg','graphics/install-3-label-3.jpg');" src="graphics/install-3-label-3.jpg" vspace="0" width="120"></A><BR>
  12. <IMG alt="Build Instructions" border="0" height="12" hspace="0" src="graphics/build-3-label-1.jpg" vspace="0" width="120"><BR>
  13. <IMG border="0" height="6" hspace="0" src="resources/separator-space.gif" vspace="0" width="120"><BR>
  14. <A href="program-3.html" onMouseOut="rolloverOff('side-program-3');" onMouseOver="rolloverOn('side-program-3');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program-3" onLoad="rolloverLoad('side-program-3','graphics/program-3-label-2.jpg','graphics/program-3-label-3.jpg');" src="graphics/program-3-label-3.jpg" vspace="0" width="120"></A><BR>
  15. <A href="samples-3.html" onMouseOut="rolloverOff('side-samples-3');" onMouseOver="rolloverOn('side-samples-3');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples-3" onLoad="rolloverLoad('side-samples-3','graphics/samples-3-label-2.jpg','graphics/samples-3-label-3.jpg');" src="graphics/samples-3-label-3.jpg" vspace="0" width="120"></A><BR>
  16. <A href="faqs-3.html" onMouseOut="rolloverOff('side-faqs-3');" onMouseOver="rolloverOn('side-faqs-3');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs-3" onLoad="rolloverLoad('side-faqs-3','graphics/faqs-3-label-2.jpg','graphics/faqs-3-label-3.jpg');" src="graphics/faqs-3-label-3.jpg" vspace="0" width="120"></A><BR>
  17. <IMG border="0" height="6" hspace="0" src="resources/separator-space.gif" vspace="0" width="120"><BR>
  18. <A href="api-3.html" onMouseOut="rolloverOff('side-api-3');" onMouseOver="rolloverOn('side-api-3');"><IMG alt="API Reference" border="0" height="12" hspace="0" name="side-api-3" onLoad="rolloverLoad('side-api-3','graphics/api-3-label-2.jpg','graphics/api-3-label-3.jpg');" src="graphics/api-3-label-3.jpg" vspace="0" width="120"></A><BR>
  19. <A href="ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-84');" onMouseOver="rolloverOn('side-ext-84');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-84" onLoad="rolloverLoad('side-ext-84','graphics/ext-84-label-2.jpg','graphics/ext-84-label-3.jpg');" src="graphics/ext-84-label-3.jpg" vspace="0" width="120"></A><BR>
  20. <A href="migrate-3.html" onMouseOut="rolloverOff('side-migrate-3');" onMouseOver="rolloverOn('side-migrate-3');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate-3" onLoad="rolloverLoad('side-migrate-3','graphics/migrate-3-label-2.jpg','graphics/migrate-3-label-3.jpg');" src="graphics/migrate-3-label-3.jpg" vspace="0" width="120"></A><BR>
  21. <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  22. <A href="feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','graphics/feedback-label-2.jpg','graphics/feedback-label-3.jpg');" src="graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
  23. <A href="bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','graphics/bug-report-label-2.jpg','graphics/bug-report-label-3.jpg');" src="graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR>
  24. <A href="mailing-lists.html" onMouseOut="rolloverOff('side-mailing-lists');" onMouseOver="rolloverOn('side-mailing-lists');"><IMG alt="Mailing Lists" border="0" height="12" hspace="0" name="side-mailing-lists" onLoad="rolloverLoad('side-mailing-lists','graphics/mailing-lists-label-2.jpg','graphics/mailing-lists-label-3.jpg');" src="graphics/mailing-lists-label-3.jpg" vspace="0" width="120"></A><BR>
  25. <IMG border="0" height="6" hspace="0" src="resources/separator.gif" vspace="0" width="120"><BR>
  26. <A href="source-repository.html" onMouseOut="rolloverOff('side-source-repository');" onMouseOver="rolloverOn('side-source-repository');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-source-repository" onLoad="rolloverLoad('side-source-repository','graphics/source-repository-label-2.jpg','graphics/source-repository-label-3.jpg');" src="graphics/source-repository-label-3.jpg" vspace="0" width="120"></A><BR>
  27. <A href="applications.html" onMouseOut="rolloverOff('side-applications');" onMouseOver="rolloverOn('side-applications');"><IMG alt="Applications" border="0" height="12" hspace="0" name="side-applications" onLoad="rolloverLoad('side-applications','graphics/applications-label-2.jpg','graphics/applications-label-3.jpg');" src="graphics/applications-label-3.jpg" vspace="0" width="120"></A><BR>
  28. <IMG border="0" height="14" hspace="0" src="resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
  29. <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="ffffff" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Build Instructions</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
  30. <P>Build instructions are provided for the following platforms and
  31. compilers:</P>
  32. <UL>
  33. <LI><A href="#UNIX">UNIX/Linux/Mac OS X/Cygwin/MinGW</A></LI>
  34. <LI><A href="#Windows">Windows using Microsoft Visual C++</A></LI>
  35. <LI><A href="#BorlandCC">Windows using Borland C++</A></LI>
  36. </UL>
  37. <A name="UNIX"><!--anchor--></A>
  38. <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="ffffff" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Building on UNIX/Linux/Mac OS X/Cygwin/MinGW platforms</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  39. <P>For building on UNIX and UNIX-like (GNU/Linux, Max OS X,
  40. Cygwin, MinGW-MSYS) platforms Xerces-C++ uses the
  41. GNU automake-based build systems and requires that you
  42. have <A href="http://www.gnu.org/software/make/make.html">GNU
  43. make</A> installed. On some platforms GNU make is called gmake
  44. instead of make.</P>
  45. <P>As with all automake-based projects the build process is divided
  46. into two parts: configuration and building. The configuration
  47. part is performed using the <CODE><FONT face="courier, monospaced">configure</FONT></CODE> script that
  48. can be found in the <CODE><FONT face="courier, monospaced">xerces-c-3.1.2</FONT></CODE> directory.
  49. The build part is performed by invoking <CODE><FONT face="courier, monospaced">make</FONT></CODE>.</P>
  50. <P>Besides the standard <CODE><FONT face="courier, monospaced">configure</FONT></CODE> options which
  51. you can view by running <CODE><FONT face="courier, monospaced">configure --help</FONT></CODE>,
  52. Xerces-C++ provides a number of project-specific options
  53. that are worth mentioning. You can specify one option for
  54. each category outlined below. If you do not specify anything
  55. for a particular category then <CODE><FONT face="courier, monospaced">configure</FONT></CODE> will
  56. select the most appropriate default. At the end of its
  57. execution <CODE><FONT face="courier, monospaced">configure</FONT></CODE> prints the selected
  58. values for each category.</P>
  59. <P>Net Accessor (used to access network resources):</P>
  60. <TABLE border="0" cellpadding="2" cellspacing="2" width="100%">
  61. <TR>
  62. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Option</B>&nbsp;
  63. </FONT></TD>
  64. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Description</B>&nbsp;
  65. </FONT></TD>
  66. </TR>
  67. <TR>
  68. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-netaccessor-curl</FONT></CODE>&nbsp;
  69. </FONT></TD>
  70. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use the libcurl library&nbsp;
  71. </FONT></TD>
  72. </TR>
  73. <TR>
  74. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-netaccessor-socket</FONT></CODE>&nbsp;
  75. </FONT></TD>
  76. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use plain sockets&nbsp;
  77. </FONT></TD>
  78. </TR>
  79. <TR>
  80. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-netaccessor-cfurl</FONT></CODE>&nbsp;
  81. </FONT></TD>
  82. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use the CFURL API (only on Mac OS X)&nbsp;
  83. </FONT></TD>
  84. </TR>
  85. <TR>
  86. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-netaccessor-winsock</FONT></CODE>&nbsp;
  87. </FONT></TD>
  88. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use WinSock (only on Windows, Cygwin, MinGW)&nbsp;
  89. </FONT></TD>
  90. </TR>
  91. <TR>
  92. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--disable-network</FONT></CODE>&nbsp;
  93. </FONT></TD>
  94. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">disable network support&nbsp;
  95. </FONT></TD>
  96. </TR>
  97. </TABLE>
  98. <P>Transcoder (used to convert between internal UTF-16 and other encodings):</P>
  99. <TABLE border="0" cellpadding="2" cellspacing="2" width="100%">
  100. <TR>
  101. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Option</B>&nbsp;
  102. </FONT></TD>
  103. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Description</B>&nbsp;
  104. </FONT></TD>
  105. </TR>
  106. <TR>
  107. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-transcoder-gnuiconv</FONT></CODE>&nbsp;
  108. </FONT></TD>
  109. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use the GNU iconv library&nbsp;
  110. </FONT></TD>
  111. </TR>
  112. <TR>
  113. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-transcoder-iconv</FONT></CODE>&nbsp;
  114. </FONT></TD>
  115. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use the iconv library&nbsp;
  116. </FONT></TD>
  117. </TR>
  118. <TR>
  119. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-transcoder-icu</FONT></CODE>&nbsp;
  120. </FONT></TD>
  121. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use the ICU library&nbsp;
  122. </FONT></TD>
  123. </TR>
  124. <TR>
  125. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-transcoder-macosunicodeconverter</FONT></CODE>&nbsp;
  126. </FONT></TD>
  127. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use Mac OS X APIs (only on Mac OS X)&nbsp;
  128. </FONT></TD>
  129. </TR>
  130. <TR>
  131. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-transcoder-windows</FONT></CODE>&nbsp;
  132. </FONT></TD>
  133. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">use Windows APIs (only on Windows, Cygwin, MinGW)&nbsp;
  134. </FONT></TD>
  135. </TR>
  136. </TABLE>
  137. <P>Message Loader (used to access diagnostics messages):</P>
  138. <TABLE border="0" cellpadding="2" cellspacing="2" width="100%">
  139. <TR>
  140. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Option</B>&nbsp;
  141. </FONT></TD>
  142. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Description</B>&nbsp;
  143. </FONT></TD>
  144. </TR>
  145. <TR>
  146. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-msgloader-inmemory</FONT></CODE>&nbsp;
  147. </FONT></TD>
  148. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">store the messages in memory&nbsp;
  149. </FONT></TD>
  150. </TR>
  151. <TR>
  152. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-msgloader-icu</FONT></CODE>&nbsp;
  153. </FONT></TD>
  154. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">store the messages using the ICU resource bundles&nbsp;
  155. </FONT></TD>
  156. </TR>
  157. <TR>
  158. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">--enable-msgloader-iconv</FONT></CODE>&nbsp;
  159. </FONT></TD>
  160. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">store the messages in the iconv message catalog&nbsp;
  161. </FONT></TD>
  162. </TR>
  163. </TABLE>
  164. <P>Thread support is enabled by default and can be disabled with the
  165. <CODE><FONT face="courier, monospaced">--disable-threads</FONT></CODE> option.</P>
  166. <P>By default <CODE><FONT face="courier, monospaced">configure</FONT></CODE> selects both shared and static
  167. libraries. You can use the <CODE><FONT face="courier, monospaced">--disable-shared</FONT></CODE> and
  168. <CODE><FONT face="courier, monospaced">--disable-static</FONT></CODE> options to avoid building the
  169. version you don't need.</P>
  170. <P>Finally, to make the build process cleaner the Xerces-C++
  171. build system hides actual compiler commands being executed
  172. by <CODE><FONT face="courier, monospaced">make</FONT></CODE>. If you would like to see those then you
  173. can specify the <CODE><FONT face="courier, monospaced">--disable-pretty-make</FONT></CODE> option.</P>
  174. <P>If you need to specify compiler executables that should be
  175. used to build Xerces-C++, you can set the CC and CXX
  176. variables when invoking <CODE><FONT face="courier, monospaced">configure</FONT></CODE>. Similarly,
  177. if you need to specify additional compiler or linker options,
  178. you can set the CFLAGS, CXXFLAGS, and LDFLAGS variables.
  179. For example:</P>
  180. <DIV align="left"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>./configure --disable-static CC=gcc-4.3 CXX=g++-4.3 CFLAGS=-O3 CXXFLAGS=-O3</PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  181. <P>Once the configuration part is complete you can run
  182. <CODE><FONT face="courier, monospaced">make</FONT></CODE> (or <CODE><FONT face="courier, monospaced">gmake</FONT></CODE>). Running
  183. <CODE><FONT face="courier, monospaced">make</FONT></CODE> from the <CODE><FONT face="courier, monospaced">xerces-c-3.1.2</FONT></CODE>
  184. directory builds Xerces-C++ library and examples. The
  185. library is placed into the <CODE><FONT face="courier, monospaced">src/.libs</FONT></CODE> directory. If
  186. you like to build only the library, you can run make from
  187. <CODE><FONT face="courier, monospaced">xerces-c-3.1.2/src</FONT></CODE>.</P>
  188. <P>If you would like to build the tests and run the
  189. automated test suite, run <CODE><FONT face="courier, monospaced">make check</FONT></CODE>
  190. from the <CODE><FONT face="courier, monospaced">xerces-c-3.1.2</FONT></CODE>
  191. directory. The automated test suite required
  192. Perl and the <CODE><FONT face="courier, monospaced">diff</FONT></CODE> command.</P>
  193. <P>Finally, to install the library and examples you can run
  194. <CODE><FONT face="courier, monospaced">make install</FONT></CODE> (or <CODE><FONT face="courier, monospaced">gmake install</FONT></CODE>).
  195. To change the installation directory, use the <CODE><FONT face="courier, monospaced">--prefix</FONT></CODE>
  196. <CODE><FONT face="courier, monospaced">configure</FONT></CODE> option.</P>
  197. <P>Some platforms and configurations require extra
  198. <CODE><FONT face="courier, monospaced">configure</FONT></CODE> and <CODE><FONT face="courier, monospaced">make</FONT></CODE> options
  199. which are shown in the following table.</P>
  200. <TABLE border="0" cellpadding="2" cellspacing="2" width="100%">
  201. <TR>
  202. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Platform</B>&nbsp;
  203. </FONT></TD>
  204. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Compiler</B>&nbsp;
  205. </FONT></TD>
  206. <TD align="center" bgcolor="#039acc" colspan="1" rowspan="1" valign="center"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="-1"><B>Options</B>&nbsp;
  207. </FONT></TD>
  208. </TR>
  209. <TR>
  210. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Solaris x86&nbsp;
  211. </FONT></TD>
  212. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC&nbsp;
  213. </FONT></TD>
  214. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=CC CC=cc</FONT></CODE>&nbsp;
  215. </FONT></TD>
  216. </TR>
  217. <TR>
  218. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Solaris x86-64&nbsp;
  219. </FONT></TD>
  220. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC&nbsp;
  221. </FONT></TD>
  222. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=CC CC=cc CFLAGS=-xarch=amd64 CXXFLAGS=-xarch=amd64</FONT></CODE><BR>
  223. (for newer Sun CC versions use -m64 instead of -xarch=amd64)&nbsp;
  224. </FONT></TD>
  225. </TR>
  226. <TR>
  227. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Solaris SPARC&nbsp;
  228. </FONT></TD>
  229. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC&nbsp;
  230. </FONT></TD>
  231. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=CC CC=cc</FONT></CODE>&nbsp;
  232. </FONT></TD>
  233. </TR>
  234. <TR>
  235. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Solaris SPARCv9&nbsp;
  236. </FONT></TD>
  237. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC&nbsp;
  238. </FONT></TD>
  239. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=CC CC=cc CFLAGS=-xarch=v9 CXXFLAGS=-xarch=v9</FONT></CODE><BR>
  240. (for newer Sun CC versions use -m64 instead of -xarch=v9)&nbsp;
  241. </FONT></TD>
  242. </TR>
  243. <TR>
  244. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">AIX PowerPC&nbsp;
  245. </FONT></TD>
  246. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">IBM XL C++&nbsp;
  247. </FONT></TD>
  248. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=xlC_r CC=xlc_r</FONT></CODE><BR>
  249. <CODE><FONT face="courier, monospaced">gmake libxerces_c_la_LDFLAGS=-qmkshrobj</FONT></CODE>&nbsp;
  250. </FONT></TD>
  251. </TR>
  252. <TR>
  253. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">AIX PowerPC-64&nbsp;
  254. </FONT></TD>
  255. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">IBM XL C++&nbsp;
  256. </FONT></TD>
  257. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">export OBJECT_MODE=64</FONT></CODE><BR>
  258. <CODE><FONT face="courier, monospaced">./configure CXX=xlC_r CC=xlc_r CXXFLAGS=-q64 CFLAGS=-q64</FONT></CODE><BR>
  259. <CODE><FONT face="courier, monospaced">gmake libxerces_c_la_LDFLAGS=-qmkshrobj</FONT></CODE>&nbsp;
  260. </FONT></TD>
  261. </TR>
  262. <TR>
  263. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">HP-UX IA-64-32&nbsp;
  264. </FONT></TD>
  265. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">HP aCC&nbsp;
  266. </FONT></TD>
  267. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=aCC CC=aCC CFLAGS=-mt CXXFLAGS=-mt LDFLAGS=-mt</FONT></CODE>&nbsp;
  268. </FONT></TD>
  269. </TR>
  270. <TR>
  271. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">HP-UX IA-64&nbsp;
  272. </FONT></TD>
  273. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">HP aCC&nbsp;
  274. </FONT></TD>
  275. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CXX=aCC CC=aCC CFLAGS=&quot;-mt +DD64&quot; CXXFLAGS=&quot;-mt +DD64&quot; LDFLAGS=&quot;-mt +DD64&quot;</FONT></CODE>&nbsp;
  276. </FONT></TD>
  277. </TR>
  278. <TR>
  279. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Mac OS X x86-64&nbsp;
  280. </FONT></TD>
  281. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">GCC&nbsp;
  282. </FONT></TD>
  283. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CFLAGS=&quot;-arch x86_64&quot; CXXFLAGS=&quot;-arch x86_64&quot; </FONT></CODE>&nbsp;
  284. </FONT></TD>
  285. </TR>
  286. <TR>
  287. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Mac OS X PowerPC-64&nbsp;
  288. </FONT></TD>
  289. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">GCC&nbsp;
  290. </FONT></TD>
  291. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure CFLAGS=&quot;-arch ppc64&quot; CXXFLAGS=&quot;-arch ppc64&quot;</FONT></CODE>&nbsp;
  292. </FONT></TD>
  293. </TR>
  294. <TR>
  295. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Mac OS X x86/PowerPC&nbsp;
  296. </FONT></TD>
  297. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">GCC&nbsp;
  298. </FONT></TD>
  299. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure --disable-dependency-tracking CFLAGS=&quot;-arch i386 -arch ppc&quot; CXXFLAGS=&quot;-arch i386 -arch ppc&quot;</FONT></CODE>&nbsp;
  300. </FONT></TD>
  301. </TR>
  302. <TR>
  303. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Mingw x86&nbsp;
  304. </FONT></TD>
  305. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">GCC&nbsp;
  306. </FONT></TD>
  307. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure LDFLAGS=-no-undefined</FONT></CODE>&nbsp;
  308. </FONT></TD>
  309. </TR>
  310. <TR>
  311. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Cygwin x86&nbsp;
  312. </FONT></TD>
  313. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">GCC&nbsp;
  314. </FONT></TD>
  315. <TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><CODE><FONT face="courier, monospaced">./configure LDFLAGS=-no-undefined</FONT></CODE>&nbsp;
  316. </FONT></TD>
  317. </TR>
  318. </TABLE>
  319. <P></P>
  320. <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>
  321. Note that different UNIX platforms use different system
  322. environment variable for finding shared libraries. On Linux
  323. and Solaris, the environment variable name is
  324. <CODE><FONT face="courier, monospaced">LD_LIBRARY_PATH</FONT></CODE>, on AIX it is
  325. <CODE><FONT face="courier, monospaced">LIBPATH</FONT></CODE>, on Mac OS X it is
  326. <CODE><FONT face="courier, monospaced">DYLD_LIBRARY_PATH</FONT></CODE>, and on HP-UX
  327. it is <CODE><FONT face="courier, monospaced">SHLIB_PATH</FONT></CODE>.
  328. </I></FONT></TD></TR></TABLE>
  329. <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>
  330. Note that Cygwin and MinGW are different from the UNIX platforms
  331. in the way they find shared libraries at run time. While UNIX
  332. platforms may use the <CODE><FONT face="courier, monospaced">LD_LIBRARY_PATH</FONT></CODE> environment
  333. variable, Cygwin and MinGW use the <CODE><FONT face="courier, monospaced">PATH</FONT></CODE> environment
  334. variable.
  335. </I></FONT></TD></TR></TABLE>
  336. </FONT></TD></TR></TABLE><BR>
  337. <A name="Windows"><!--anchor--></A>
  338. <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="ffffff" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Building on Windows using Microsoft Visual C++</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  339. <P>Xerces-C++ source distribution comes with Microsoft Visual C++ projects and solutions.
  340. The following describes the steps you need to build with this compiler.</P>
  341. <P>To build Xerces-C++ from the source distribution you will
  342. need to open the solution containing the project. The solutions
  343. containing the Xerces-C++ project files are in the following
  344. sub-directories in the <CODE><FONT face="courier, monospaced">xerces-c-3.1.2</FONT></CODE>
  345. directory:</P>
  346. <DIV align="left"><TABLE border="0" cellpadding="0" cellspacing="4" width="464"><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#ffffff" width="462"><FONT size="-1"><PRE>
  347. (For VC7.1) projects\Win32\VC7.1\xerces-all\xerces-all.sln
  348. (For VC8.0) projects\Win32\VC8\xerces-all\xerces-all.sln
  349. (For VC9.0) projects\Win32\VC9\xerces-all\xerces-all.sln
  350. (For VC10.0) projects\Win32\VC10\xerces-all\xerces-all.sln
  351. (For VC11.0) projects\Win32\VC11\xerces-all\xerces-all.sln
  352. (For VC12.0) projects\Win32\VC12\xerces-all\xerces-all.sln
  353. </PRE></FONT></TD><TD bgcolor="#0086b2" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" height="1" width="462"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="462"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></DIV>
  354. <P>Once you have the solution open, you need to build the
  355. project named <CODE><FONT face="courier, monospaced">XercesLib</FONT></CODE>. You can select
  356. Debug/Release, Static/DLL, and, for VC8+,
  357. 32/64 bit builds using the Configuration Manager dialog.
  358. You can also select whether the Xerces-C++ library
  359. should use ICU for transcoding.</P>
  360. <P>When building your own applications you need to make sure
  361. that you are linking your application with the
  362. xerces-c_3.lib (Release) and/or
  363. xerces-c_3D.lib (Debug)
  364. libraries (or the static versions of them)
  365. and also that the associated DLLs are somewhere in the
  366. executable/DLL search path (<CODE><FONT face="courier, monospaced">PATH</FONT></CODE>).</P>
  367. <TABLE border="0" cellpadding="0" cellspacing="3" width="100%"><TR><TD valign="top" width="20"><IMG alt="Note" border="0" height="24" hspace="0" src="resources/note.gif" vspace="0" width="20"></TD><TD valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"><I>If you are linking your application to the static
  368. Xerces-C++ library,
  369. then you will need to compile your application with the
  370. XERCES_STATIC_LIBRARY preprocessor macro defined in order
  371. to turn off the DLL import/export mechanism.</I></FONT></TD></TR></TABLE>
  372. <P>If you would also like to build tests and/or samples, inside
  373. the solution files mentioned above, you'll find several other
  374. projects which are for the tests and samples. Select all
  375. the tests/samples that you would like to build and then
  376. right click on the selection. Choose &quot;Build (selection
  377. only)&quot; to build all the selected projects in one shot.</P>
  378. </FONT></TD></TR></TABLE><BR>
  379. <A name="BorlandCC"><!--anchor--></A>
  380. <TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="ffffff" colspan="2" width="484"><TABLE border="0" cellpadding="0" cellspacing="0" width="484"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="482"><FONT color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="2" hspace="0" src="resources/void.gif" vspace="0" width="2"><B>Building on Windows using Borland C++</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="482"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="482"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
  381. <P>Xerces-C++ source distribution comes with the Borland C++ makefiles. The
  382. following describes the steps you need to build Xerces-C++ with this compiler.</P>
  383. <OL>
  384. <LI>Change to the <CODE><FONT face="courier, monospaced">xerces-c-3.1.2\projects\Win32\BCC5\Xerces-all</FONT></CODE> directory</LI>
  385. <LI>Run <CODE><FONT face="courier, monospaced">MakeBuildDirs.bat</FONT></CODE></LI>
  386. <LI><CODE><FONT face="courier, monospaced">make -f Xerces-all.mak</FONT></CODE> to build the library, examples, and tests.</LI>
  387. </OL>
  388. </FONT></TD></TR></TABLE><BR>
  389. </FONT></TD></TR></TABLE><BR>
  390. </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="resources/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
  391. Copyright &copy; 1999-2015 The Apache Software Foundation.
  392. All Rights Reserved.
  393. </I></FONT></TD></TR></TABLE></BODY></HTML>