Commit d4d5fdab authored by Bruce Momjian's avatar Bruce Momjian

Update docs for Borland CC build.

parent 32b24bfa
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pgsql Exp $ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.18 2004/09/27 19:43:17 momjian Exp $
--> -->
<chapter id="install-win32"> <chapter id="install-win32">
...@@ -12,27 +12,28 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg ...@@ -12,27 +12,28 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
<para> <para>
Although <productname>PostgreSQL</productname> is written for Although <productname>PostgreSQL</productname> is written for
Unix-like operating systems, the C client library Unix-like operating systems and compiles under
<productname>MinGW</productname>, the C client library
(<application>libpq</application>) and the interactive terminal (<application>libpq</application>) and the interactive terminal
(<application>psql</application>) can be compiled natively under (<application>psql</application>) can be compiled using other Windows
Windows. The makefiles included in the source distribution are tool sets. Makefiles are included in the source distribution for
written for <productname>Microsoft Visual C++</productname> and will <productname>Microsoft Visual C++</productname> and
probably not work with other systems. It should be possible to <productname>Borland C++</productname>. It should be possible to
compile the libraries manually in other cases. compile the libraries manually for other configurations.
</para> </para>
<tip> <tip>
<para> <para>
If you are using Windows 98 or newer you can build and use all of If you are using a Windows NT-based operating system or newer you can
<productname>PostgreSQL</productname> <quote>the Unix way</quote> build and use all of <productname>PostgreSQL</productname> <quote>the
if you install the <productname>Cygwin</productname> toolkit first. Unix way</quote> if you install the <productname>MinGW</productname>
In that case see <xref linkend="installation">. toolkit first. In that case see <xref linkend="installation">.
</para> </para>
</tip> </tip>
<para> <para>
To build everything that you can on To build everything that you can on <productname>Windows</productname>
<productname>Windows</productname>, change into the using <productname>Microsoft Visual C++</productname>, change into the
<filename>src</filename> directory and type the command <filename>src</filename> directory and type the command
<screen> <screen>
<userinput>nmake /f win32.mak</userinput> <userinput>nmake /f win32.mak</userinput>
...@@ -41,6 +42,15 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg ...@@ -41,6 +42,15 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
your path. your path.
</para> </para>
<para>
To build everything using using <productname>Borland
C++</productname>, change into the <filename>src</filename> directory
and type the command
<screen>
<userinput>make -DCFG=Release /f bcc32.mak</userinput>
</screen>
</para>
<para> <para>
The following files will be built: The following files will be built:
...@@ -95,10 +105,11 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg ...@@ -95,10 +105,11 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.17 2003/11/29 19:51:37 pg
</para> </para>
<para> <para>
If you plan to do development using <application>libpq</application> on this machine, you will If you plan to do development using <application>libpq</application>
have to add the <filename>src\include</filename> and on this machine, you will have to add the
<filename>src\interfaces\libpq</filename> subdirectories of the <filename>src\include</filename> and
source tree to the include path in your compilers settings. <filename>src\interfaces\libpq</filename> subdirectories of the source
tree to the include path in your compilers settings.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment