Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvw5z-0003BW-Dc for pgsql-odbc@arkaria.postgresql.org; Sat, 14 Jun 2014 22:06:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wvw5y-00041i-0C for pgsql-odbc@arkaria.postgresql.org; Sat, 14 Jun 2014 22:06:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wvw5w-00041X-0L for pgsql-odbc@postgresql.org; Sat, 14 Jun 2014 22:06:40 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wvw5o-0007zG-EV for pgsql-odbc@postgresql.org; Sat, 14 Jun 2014 22:06:38 +0000 Received: (qmail 9426 invoked by uid 512); 14 Jun 2014 22:06:31 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 14 Jun 2014 22:06:31 -0000 Received: from unknown (HELO ?192.168.1.8?) (183.76.63.174) by sd.tpf.co.jp with SMTP; 14 Jun 2014 22:06:31 -0000 Message-ID: <539CC768.2070803@tpf.co.jp> Date: Sun, 15 Jun 2014 07:06:32 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Heikki Linnakangas CC: "pgsql-odbc@postgresql.org" , Hiroshi Saito , Dave Page Subject: Re: Building psqlODBC installers References: <539AEFAF.1070708@vmware.com> In-Reply-To: <539AEFAF.1070708@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (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