1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Enable building of 64-bit libpq using visual studio 8 and the

win32.mak file.
Enable building with kerberos support using the win32.mak file.

Hiroshi Saito + me
This commit is contained in:
Magnus Hagander
2007-04-18 13:50:09 +00:00
parent 9e53f83c75
commit 432ea3cffd
2 changed files with 67 additions and 16 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.39 2007/04/18 10:14:06 mha Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.40 2007/04/18 13:50:08 mha Exp $ -->
<chapter id="install-win32">
<title>Installation on <productname>Windows</productname></title>
@ -360,7 +360,7 @@
<productname>Borland C++</productname></title>
<para>
Using <productname>Visual Studio 6.0</productname> or
Using <productname>Visual C++ 6.0-8.0</productname> or
<productname>Borland C++</productname> to build libpq is only recommended
if you need a version with different debug/release flags, or if you need a
static library to link into an application. For normal use the
@ -370,12 +370,23 @@
<para>
To build the <application>libpq</application> client library using
<productname>Visual Studio 6.0</productname>, change into the
<productname>Visual Studio 6.0 or later</productname>, change into the
<filename>src</filename> directory and type the command
<screen>
<userinput>nmake /f win32.mak</userinput>
</screen>
</para>
<para>
To build a 64-bit version of the <application>libpq</application>
client library using <productname>Visual Studio 8.0 or
later</productname>, change into the <filename>src</filename>
directory and type in the command
<screen>
<userinput>nmake /f win32.mak CPU=AMD64</userinput>
</screen>
See the <filename>win32.mak</filename> file for further details
about supported variables.
</para>
<para>
To build the <application>libpq</application> client library using