diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml
index ea86102c836..8681a7f683c 100644
--- a/doc/src/sgml/install-windows.sgml
+++ b/doc/src/sgml/install-windows.sgml
@@ -47,15 +47,26 @@
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
+ Darwin.
+ 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
- Windows 98. MinGW is
- 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
Platform SDK
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index 0258eecda43..aa2c4a63025 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2312,7 +2312,7 @@ createlang: language installation failed: ERROR: could not load library "/opt/d
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.
@@ -2371,6 +2371,16 @@ createlang: language installation failed: ERROR: could not load library "/opt/d
+
+
+ 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)
@@ -2580,6 +2590,14 @@ cc-1020 cc: ERROR File = pqcomm.c, Line = 427
creating the binaries.
+
+ To build 64 bit binaries using MinGW, install the 64 bit tool set
+ from , put its bin
+ 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
run psql