From e1c1e2173248f39c1b15fca7b2a31ad7b5199ce7 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Wed, 6 Feb 2013 14:52:29 -0500 Subject: Enable building with Microsoft Visual Studio 2012. Backpatch to release 9.2 Brar Piening and Noah Misch, reviewed by Craig Ringer. --- doc/src/sgml/install-windows.sgml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml index 452cf3195a5..a3303819542 100644 --- a/doc/src/sgml/install-windows.sgml +++ b/doc/src/sgml/install-windows.sgml @@ -19,8 +19,8 @@ There are several different ways of building PostgreSQL on Windows. The simplest way to build with - Microsoft tools is to install a supported version of the - Microsoft Windows SDK and use the included + Microsoft tools is to install Visual Studio Express 2012 + for Windows Desktop and use the included compiler. It is also possible to build with the full Microsoft Visual C++ 2005, 2008 or 2010. In some cases that requires the installation of the Windows SDK @@ -77,17 +77,18 @@ 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 - way is to use the compilers in the Windows SDK, - which is a free download from Microsoft. + ways are to use the compilers in the Windows SDK 7.1 + or those from Visual Studio Express 2012 for Windows + Desktop, which are both free downloads from Microsoft. PostgreSQL is known to support compilation using the compilers shipped with Visual Studio 2005 to - Visual Studio 2010 (including Express editions), + Visual Studio 2012 (including Express editions), as well as standalone Windows SDK releases 6.0 to 7.1. 64-bit PostgreSQL builds are only supported with - Microsoft Windows SDK version 6.0a and above or + Microsoft Windows SDK version 6.0a to 7.1 or Visual Studio 2008 and above. @@ -149,17 +150,20 @@ $ENV{PATH}=$ENV{PATH} . ';c:\some\where\bison\bin'; Microsoft Windows SDK - It is recommended that you upgrade to the latest supported version - of the Microsoft Windows SDK (currently + If your build environment doesn't ship with a supported version of the + Microsoft Windows SDK it + is recommended that you upgrade to the latest version (currently version 7.1), available for download from . You must always include the Windows Headers and Libraries part of the SDK. - If you install the Windows SDK + If you install a Windows SDK including the Visual C++ Compilers, you don't need Visual Studio to build. + Note that as of Version 8.0a the Windows SDK no longer ships with a + complete command-line build environment. -- cgit v1.2.3