From 0fb54de9aa4ffb792ea63af853146021ae501f12 Mon Sep 17 00:00:00 2001
From: Andrew Dunstan
Date: Fri, 29 Apr 2016 07:59:47 -0400
Subject: Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.
Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.
Backpatch to 9.5
---
doc/src/sgml/install-windows.sgml | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml
index 74265fc172c..4e92cc9eb4d 100644
--- a/doc/src/sgml/install-windows.sgml
+++ b/doc/src/sgml/install-windows.sgml
@@ -19,10 +19,10 @@
There are several different ways of building PostgreSQL on
Windows. The simplest way to build with
- Microsoft tools is to install Visual Studio Express 2013
+ Microsoft tools is to install Visual Studio Express 2015
for Windows Desktop and use the included
compiler. It is also possible to build with the full
- Microsoft Visual C++ 2005 to 2013.
+ Microsoft Visual C++ 2005 to 2015.
In some cases that requires the installation of the
Windows SDK in addition to the compiler.
@@ -77,19 +77,26 @@
Visual Studio Express or some versions of the
Microsoft Windows SDK. If you do not already have a
Visual Studio environment set up, the easiest
- ways are to use the compilers from Visual Studio Express 2013
+ ways are to use the compilers from Visual Studio Express 2015
for Windows Desktop or those in the Windows SDK
7.1, which are both free downloads from Microsoft.
- PostgreSQL is known to support compilation using the compilers shipped with
+ Both 32-bit and 64-bit builds are possible with the Microsoft Compiler suite.
+ 32-bit PostgreSQL buils are possible with
Visual Studio 2005 to
- Visual Studio 2013 (including Express editions),
+ Visual Studio 2015 (including Express editions),
as well as standalone Windows SDK releases 6.0 to 7.1.
- 64-bit PostgreSQL builds are only supported with
+ 64-bit PostgreSQL builds are supported with
Microsoft Windows SDK version 6.0a to 7.1 or
- Visual Studio 2008 and above.
+ Visual Studio 2008 and above. Compilation
+ is supported down to Windows XP and
+ Windows Server 2003> when building with
+ Visual Studio 2005> to
+ Visual Studio 2013. Building with
+ Visual Studio 2015 is supported down to
+ Windows Vista> and Windows Server 2008>.
@@ -210,9 +217,7 @@ $ENV{PATH}=$ENV{PATH} . ';c:\some\where\bison\bin';
Both Bison and Flex
are included in the msys tool suite, available
from > as part of the
- MinGW compiler suite. You can also get
- msys as part of
- msysGit from >.
+ MinGW compiler suite.
@@ -221,9 +226,7 @@ $ENV{PATH}=$ENV{PATH} . ';c:\some\where\bison\bin';
PATH environment variable in buildenv.pl unless
they are already in PATH. In the case of MinGW, the directory is the
\msys\1.0\bin subdirectory of your MinGW
- installation directory. For msysGit, it's the bin
- directory in your Git install directory. Do not add the MinGW compiler
- tools themselves to PATH.
+ installation directory.
--
cgit v1.2.3