pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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: Sun, 15 Jun 2014 07:06:32 +0900
Message-ID: <539CC768.2070803@tpf.co.jp> (raw)
In-Reply-To: <539AEFAF.1070708@vmware.com>
References: <539AEFAF.1070708@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2014/06/13 21:33), Heikki Linnakangas wrote:
> I found the procedure for building the installers quite cumbersome.
> There are several ways to do it, using the PowerShell installers, or
> Make.bat or Makex64.bat files, and you have to first build the right
> drivers versions etc.
>
> To simplify things, I invented yet another way to build the installers ;-).
>
> I pushed a patch that adds new targets to the top-level win64.mak file.
> The most interesting target is "world", which builds both x64 and x86
> versions of the driver, both ANSI and Unicode versions. And then it
> builds both x86 and x64 installers. All in one command:
>
> nmake /f win64.mak world
>
> I don't know how you've been building the official releases so far, but
> I would strongly recommend using this method. I'd like to remove the
> installer/make.bat and installer/makex64.bat files now. The only reason
> I didn't do that yet is that I don't actually do the official releases
> myself, so wanted to make sure this works for everyone.
>
> So: Hiroshi, Hiroshi, Dave, does this method work for you, for building
> the official builds? Would it be helpful to add new targets to build the
> various .zip files, for pushing directly to the FTP site?

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.

regards,
Hiroshi Inoue


-- 
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: <539CC768.2070803@tpf.co.jp>
Permalink:  ../539CC768.2070803@tpf.co.jp/
Also on:    postgresql.org/message-id/539CC768.2070803@tpf.co.jp

 · 

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: inoue@tpf.co.jp, hlinnakangas@vmware.com, hiroshi@winpg.jp, dpage@pgadmin.org
  Subject: Re: Building psqlODBC installers
  In-Reply-To: <539CC768.2070803@tpf.co.jp>
  References: <539AEFAF.1070708@vmware.com> <539CC768.2070803@tpf.co.jp>

* 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