*** a/doc/src/sgml/install-windows.sgml --- b/doc/src/sgml/install-windows.sgml *************** *** 47,61 **** 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 the native build does not work, such as ! Windows 98. MinGW is ! only recommended if you are building other modules using it. The official binaries are built using Visual Studio. Building with <productname>Visual C++</productname> or the <productname>Platform SDK</productname> --- 47,72 ---- Cygwin uses the normal build system, see and the specific notes in and . ! 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. 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 <productname>Visual C++</productname> or the <productname>Platform SDK</productname> *** a/doc/src/sgml/installation.sgml --- b/doc/src/sgml/installation.sgml *************** *** 2733,2738 **** cc-1020 cc: ERROR File = pqcomm.c, Line = 427 --- 2733,2746 ---- + 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 under CMD.EXE, as the MSYS console has