Re: Windows build issues - Mailing list pgsql-hackers

From Brar Piening
Subject Re: Windows build issues
Date
Msg-id 4DA62028.6000307@gmx.de
Whole thread Raw
In response to Re: Windows build issues  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Windows build issues
List pgsql-hackers
On Wed, 13 Apr 2011 10:45:25 +0200, Magnus Hagander 
<magnus@hagander.net> wrote:
>
> So per your experience, all we really need to do is to define what the
> *max* level of the Windows SDK we can use is, to make sure people
> don't get the VS2010 compiler instead?
>
> (And adding the note that VS2010 isn't supported with or without the
> platform sdk)
Yes, v6.0-v7.0 will work, v7.0a(=VS 2010) and v7.1 will not work.

> Yeah, unfortunately it doesn't list which version of the compilers are
> included...
>
Actually the VS 2010 compilers (and those of the associated Windows 
SDK's) work fine for building postgres. They produce quite a few 
additional warnings that I already mentioned 
(http://archives.postgresql.org/pgsql-hackers/2011-01/msg00118.php) but 
the product seems to work fine.

The problem with VS 2010 (and the associated Windows SDK's) is the fact 
that MS dropped VCBuild.exe and now uses MSBuild.exe to build Visual C++ 
Projects so the generated build files don't work any longer. (see 
http://msdn.microsoft.com/en-us/library/bb531344.aspx)


For the records (CSV):
Version,Windows SDK Version Number,Build Number,Release Date,Building 
PostgreSQL
Windows Vista Update & .NET 3.0 
SDK,v6.0,6.1.6000.16384.10,2007-03-22,will work (tested*)
Included in Visual Studio 2008,v6.0a,??,2007-11-19,will work (untested)
Windows Server 2008 & .NET 3.5 
SDK,v6.1,6.0.6001.18000.367,2008-02-05,will work (untested)
Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP 
1,v7.0,6.1.7600.16385,2009-07-24,will work (tested*)
Included in Visual Studio 2010,v7.0a,6.1.7600.16385,2010-04-12,will not 
work yet (tested**)
Microsoft Windows SDK for Windows 7 and .NET Framework 
4,v7.1,7.1.7600.0.30514,2010-05-21,will not work yet (tested**)

* builds and passes vcregress check with current git HEAD
** fails while trying to detect vcbuild version

Regards,

Brar







pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_regress multibyte -> encoding?
Next
From: Robert Haas
Date:
Subject: Re: POSIX shared memory redux