pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndquadrant.com>
To: Inoue, Hiroshi <inoue@tpf.co.jp>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Cc: Hiroshi Saito <hiroshi@winpg.jp>
Cc: Dave Page <dpage@pgadmin.org>
Subject: Re: Building psqlODBC installers
Date: Mon, 16 Jun 2014 12:13:30 +0800
Message-ID: <539E6EEA.4020207@2ndquadrant.com> (raw)
In-Reply-To: <539CC768.2070803@tpf.co.jp>
References: <539AEFAF.1070708@vmware.com>
	<539CC768.2070803@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 06/15/2014 06:06 AM, Inoue, Hiroshi wrote:
>>
> 
> It doesn't work under Visual Studio 2013 Express for Windows Desktop
> because
>  1. TARGET_CPU variable isn't set.
>  2. setenv.cmd doesn't exist.
> 
> IIRC the only environment win64.mak works is Windows SDK 7.1.
> One of the reason why I switched to MSBuild is to avoid such
> kind of troubles.

Yeah, SDK detection is a nightmare.

I didn't know about the great work you'd done with your Powershell
scripts when I wrote pg_build_win (or maybe it wasn't around then). It
has some mess in it for SDK detection, and that's just to determine the
version and check the SDK, it doesn't actually try to find it.

There aren't even standard registry keys for it, as different service
pack levels and different versions (Enterprise, normal, Express, etc)
have their own registry key locations.

It's like Microsoft, for every SDK release, said: "Take the old
packaging team out. Lock them outside the doors. Then find some random
people from another team and make them package this SDK, with absolutely
no knowledge of how the prior team did it."

Anything we can use to make that easier is a win, and MSBuild is one of
the few things that counts there.

IMO, support for SDKs older than v10 (VS 2010, WinSDK 7.1) is completely
uninteresting. If someone wants that, they can go get a matchingly
ancient version of psqlODBC.


-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (18+ messages)  latest in thread

Message-ID: <539E6EEA.4020207@2ndquadrant.com>
Permalink:  ../539E6EEA.4020207@2ndquadrant.com/
Also on:    postgresql.org/message-id/539E6EEA.4020207@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: craig@2ndquadrant.com, inoue@tpf.co.jp, hlinnakangas@vmware.com, hiroshi@winpg.jp, dpage@pgadmin.org
  Subject: Re: Building psqlODBC installers
  In-Reply-To: <539E6EEA.4020207@2ndquadrant.com>
  References: <539AEFAF.1070708@vmware.com> <539CC768.2070803@tpf.co.jp> <539E6EEA.4020207@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox