Although
PostgreSQL is written for
- Unix-like operating systems, the C client library
+ Unix-like operating systems and compiles under
+
MinGW, the C client library
(
libpq) and the interactive terminal
- (
psql) can be compiled
natively under
- Windows. The makefiles included in the source distribution are
- written for
Microsoft Visual C++ and will
- probably not work with other systems. It should be possible to
- compile the libraries manually in other cases.
+ (
psql) can be compiled
using other Windows
+ tool sets. Makefiles are included in the source distribution for
+
Microsoft Visual C++ and
+
Borland C++. It should be possible to
+ compile the libraries manually for other configurations.
- If you are using Windows 98 or newer you can build and use all of
-
PostgreSQL the Unix way
- if you install the
Cygwin toolkit first.
- In that case see .
+ If you are using a Windows NT-based operating system or newer you can
+ build and use all of
PostgreSQL the
+ Unix way if you install the
MinGW
+ toolkit first. In that case see .
- To build everything that you can on
-
Windows, change into the
+ To build everything that you can on
Windows
+
using Microsoft Visual C++, change into the
src directory and type the command
nmake /f win32.mak
your path.
+ To build everything using using
Borland
+ C++, change into the src directory
+ and type the command
+
+make -DCFG=Release /f bcc32.mak
+
+
+
The following files will be built:
- If you plan to do development using
libpq on this machine, you will
- have to add the src\include and
- src\interfaces\libpq subdirectories of the
- source tree to the include path in your compilers settings.
+ If you plan to do development using
libpq
+ on this machine, you will have to add the
+ src\include and
+ src\interfaces\libpq subdirectories of the source
+ tree to the include path in your compilers settings.