- publishing free software manuals
The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide
by The PostgreSQL Global Development Group
Paperback (6"x9"), 274 pages
ISBN 9781906966072
RRP £9.95 ($14.95)

Sales of this book support the PostgreSQL project! Get a printed copy>>>

2.2 Building libpq with Visual C++ or Borland C++

Using Visual C++ 7.1-9.0 or Borland C++ 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 MinGW or Visual Studio or Platform SDK method is recommended.

To build the libpq client library using Visual Studio 7.1 or later, change into the ‘src’ directory and type the command:

nmake /f win32.mak

To build a 64-bit version of the libpq client library using Visual Studio 8.0 or later, change into the ‘src’ directory and type in the command:

nmake /f win32.mak CPU=AMD64

See the ‘win32.mak’ file for further details about supported variables.

To build the libpq client library using Borland C++, change into the ‘src’ directory and type the command:

make -N -DCFG=Release /f bcc32.mak
ISBN 9781906966072The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration GuideSee the print edition