52
52
<LI><A href="#UNIX">UNIX/Linux/Mac OS X/Cygwin/MinGW</A></LI>
53
53
<LI><A href="#Windows">Windows using Microsoft Visual C++</A></LI>
54
54
<LI><A href="#BorlandCC">Windows using Borland C++</A></LI>
55
<LI><A href="#BorlandBuilder">Windows using Borland C++ Builder</A></LI>
58
57
<A name="UNIX"><!--anchor--></A>
261
260
<TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC
263
<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>
262
<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>
263
(for newer Sun CC versions use -m64 instead of -xarch=amd64)
277
277
<TD align="" bgcolor="#a0ddf0" colspan="1" rowspan="1" valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">Sun CC
279
<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>
279
<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>
280
(for newer Sun CC versions use -m64 instead of -xarch=v9)
390
391
<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>
391
(For VC6) projects\Win32\VC6\xerces-all\xerces-all.dsw
392
392
(For VC7.1) projects\Win32\VC7.1\xerces-all\xerces-all.sln
393
393
(For VC8) projects\Win32\VC8\xerces-all\xerces-all.sln
394
394
(For VC9) projects\Win32\VC9\xerces-all\xerces-all.sln
422
422
only)" to build all the selected projects in one shot.</P>
423
423
</FONT></TD></TR></TABLE><BR>
425
<A name="BorlandBuilder"><!--anchor--></A>
426
<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++ Builder</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"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
427
<P>Xerces-C++ source distribution comes with the
428
Borland C++ Builder 6 projects. The following describes the steps you
429
need to build with this compiler.</P>
431
<P>The library and example projects are all contained in the
432
Xerces-all project group:
433
<CODE><FONT face="courier, monospaced">xerces-c-3.1.0\projects\Win32\BCB6\Xerces-all\Xerces-all.bpg</FONT></CODE>.
434
Each project in the group refers a directory below <CODE><FONT face="courier, monospaced">Xerces-all\</FONT></CODE>.
435
For example, the XercesLib project files are contained in the directory
436
<CODE><FONT face="courier, monospaced">xerces-c-3.1.0\projects\Win32\BCB6\Xerces-all\XercesLib</FONT></CODE>.</P>
438
<P>To build a project, open the project manager, double click on the project
439
name, and select "Project -> Build" from the menu. For example, double click
440
on XercesLib.dll in the manager then select "Project -> Build XercesLib" from
443
</FONT></TD></TR></TABLE><BR>
445
425
<A name="BorlandCC"><!--anchor--></A>
446
426
<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"> </TD><TD width="474"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
447
427
<P>Xerces-C++ source distribution comes with the Borland C++ makefiles. The
448
428
following describes the steps you need to build Xerces-C++ with this compiler.</P>
450
<LI>Change to the <CODE><FONT face="courier, monospaced">xerces-c-3.1.0\projects\Win32\BCC.551\Xerces-all</FONT></CODE> directory</LI>
430
<LI>Change to the <CODE><FONT face="courier, monospaced">xerces-c-3.1.0\projects\Win32\BCC5\Xerces-all</FONT></CODE> directory</LI>
451
431
<LI>Run <CODE><FONT face="courier, monospaced">MakeBuildDirs.bat</FONT></CODE></LI>
452
432
<LI><CODE><FONT face="courier, monospaced">make -f Xerces-all.mak</FONT></CODE> to build the library, examples, and tests.</LI>