Cygwin uses the normal build system, see
and the specific notes in
and .
- These builds cannot generate 64-bit binaries.
-
Cygwin is not recommended and should
- only be used for older versions of
Windows where
+ To produce native 64 bit binaries in these environments, use the tools from
+
Mingw64. These tools can also be used to
+ cross-compile for 32 bit and 64 bit
Windows
+ targets on other hosts, such as
Linux and
+
Cygwin is not recommended for running a
+ production server, and it should only be used for running on
+ older versions of
Windows where
the native build does not work, such as
- only recommended if you are building other modules using it. The official
+
Windows 98. The official
binaries are built using
Visual Studio.
+ Native builds of
psql don't support command
+ line editing. The
Cygwin build does support
+ command line editing, so it should be used where psql is needed for
+ interactive use on
Windows.
+
+
Building with Visual C++ or the
PostgreSQL can be built using Cygwin, a Linux-like environment for
Windows, but that method is inferior to the native Windows build
)]]> and
- is no longer recommended.
+ running a server under Cygwin is no longer recommended.
+
+ Building might fail on some systems where a locale other than
+ C is in use. To fix this, set the locale to C by doing
+ export LANG=C.utf8 before building, and then
+ setting it back to the previous setting, after you have installed
+ PostgreSQL.
+
+
+
The parallel regression tests (make check)
creating the binaries.
+ To build 64 bit binaries using MinGW, install the 64 bit tool set
+ directory in the PATH, and run
+ configure with the
+ --host=x86_64-w64-mingw option.
+
+
After you have everything installed, it is suggested that you