1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
10
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
12
HREF="mailto:pgsql-docs@postgresql.org"><LINK
14
TITLE="PostgreSQL 9.1beta1 Documentation"
15
HREF="index.html"><LINK
17
TITLE="Installation from Source Code on Windows"
18
HREF="install-windows.html"><LINK
20
TITLE="Building with Visual C++ or the
22
HREF="install-windows-full.html"><LINK
24
TITLE="Server Setup and Operation"
25
HREF="runtime.html"><LINK
28
HREF="stylesheet.css"><META
29
HTTP-EQUIV="Content-Type"
30
CONTENT="text/html; charset=ISO-8859-1"><META
32
CONTENT="2011-04-27T21:20:33"></HEAD
38
SUMMARY="Header navigation table"
50
>PostgreSQL 9.1beta1 Documentation</A
59
TITLE="Building with Visual C++ or the
61
HREF="install-windows-full.html"
70
TITLE="Installation from Source Code on Windows"
71
HREF="install-windows.html"
78
>Chapter 16. Installation from Source Code on <SPAN
87
TITLE="Installation from Source Code on Windows"
88
HREF="install-windows.html"
96
TITLE="Server Setup and Operation"
111
NAME="INSTALL-WINDOWS-LIBPQ"
112
>16.2. Building <SPAN
128
>Visual C++ 7.1-9.0</SPAN
133
> to build libpq is only recommended
134
if you need a version with different debug/release flags, or if you need a
135
static library to link into an application. For normal use the
147
> method is recommended.
153
> client library using
156
>Visual Studio 7.1 or later</SPAN
161
> directory and type the command:
166
>nmake /f win32.mak</KBD
171
> To build a 64-bit version of the <SPAN
175
client library using <SPAN
177
>Visual Studio 8.0 or
179
>, change into the <TT
183
directory and type in the command:
188
>nmake /f win32.mak CPU=AMD64</KBD
194
> file for further details
195
about supported variables.
201
> client library using
209
> directory and type the command:
214
>make -N -DCFG=Release /f bcc32.mak</KBD
224
>16.2.1. Generated Files</A
227
> The following files will be built:
237
>interfaces\libpq\Release\libpq.dll</TT
241
> The dynamically linkable frontend library
247
>interfaces\libpq\Release\libpqdll.lib</TT
251
> Import library to link your programs to <TT
260
>interfaces\libpq\Release\libpq.lib</TT
264
> Static version of the frontend library
272
> Normally you do not need to install any of the client files. You should
276
> file in the same directory
277
as your applications executable file. Do not install
292
absolutely necessary.
293
If this file is installed using a setup program, then it should
294
be installed with version checking using the
298
> resource included in the file, to
299
ensure that a newer version of the library is not overwritten.
302
> If you are planning to do development using <SPAN
306
on this machine, you will have to add the
313
>src\interfaces\libpq</TT
314
> subdirectories of the source
315
tree to the include path in your compiler's settings.
318
> To use the library, you must add the
322
> file to your project. (In Visual
323
C++, just right-click on the project and choose to add it.)
332
SUMMARY="Footer navigation table"
343
HREF="install-windows-full.html"
384
HREF="install-windows.html"
392
>Server Setup and Operation</TD
b'\\ No newline at end of file'