From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Mentioning CPU for Windows build in docs
Date: Tue, 03 Jun 2014 12:33:10 +0900
Message-ID: <538D41F6.8020104@tpf.co.jp> (raw)
In-Reply-To: <538CC1C6.9010007@vmware.com>
References: <CAB7nPqTTMCxqSrkXtOEZJfs=v4bxFvtqZFZwTT+n19xoG0oqNg@mail.gmail.com>
<538C2719.1020405@vmware.com>
<CAB7nPqRtwVV0YP9JtxjzFs5oNxeeiO+YBNwXfpasQr31kG4JHQ@mail.gmail.com>
<538C2A94.4090904@vmware.com>
<538C5674.8020407@vmware.com>
<CAB7nPqS_-=oijw5_2c9f37pqnapu9DBkqBdeo05BHwcXuOqZqw@mail.gmail.com>
<538C619A.8000505@tpf.co.jp>
<538C660F.50505@vmware.com>
<538C9FB2.8050103@tpf.co.jp>
<538CC1C6.9010007@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
(2014/06/03 3:26), Heikki Linnakangas wrote:
> On 06/02/2014 07:00 PM, Hiroshi Inoue wrote:
>> (2014/06/02 20:54), Heikki Linnakangas wrote:
>>> On 06/02/2014 02:35 PM, Inoue, Hiroshi wrote:
>>>> Official Windows build no longer uses nmake.
>>>> The binaries are built using MSBuild.
>>>> Please look at readme_winbuild.txt or winbuild/readme.txt.
>>>
>>> Huh? Really?
>>>
>>> Why did we switch? What's the advantage of MSBuild over nmake?
>>
>> For example, MSBuild can switch the environment (Platform,
>> VisualStudioVersion or platformToolset) easily. In fact
>> BuildAll.ps1(bat) builds both 32bit and 64bit drivers.
>> Or MSBuild can detect the changes of related files (e.g.
>> header files).
>>
>> IMHO nmake is needed only for vc9 or before.
>
> Well that makes one thing clear then: nobody cares about win32.mak
> anymore. win64.mak can be used to build both 32-bit and 64-bit binaries,
> and since the official binaries are built with the MSBuild method,
> keeping the old flags & other configuration you got with win32.mak is
> not important anymore. I'll go remove it.
We have ever used win32.mak for 32-bit binaries and win64.mak for
64-bit binaries with vc7(.1) or vc8 for a pretty long time.
The output directories were
Release
MultibyteRelease
AMD64
AMD64ANSI
.
Generated dlls in the directories are taken when installers are
built. I simply kept the correspondence when I introduced the
build system based on MSBuild. The 64-bit output directory has
been "AMD64" because old SDKs set CPU environment variable as
"AMD64" not "x64".
Though I don't object to switch the naming of directories, the
change should also be applied to the installer system.
regards,
Hiroshi Inoue
--
I am using the free version of SPAMfighter.
SPAMfighter has removed 10487 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len
Do you have a slow PC? Try a Free scan
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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, michael.paquier@gmail.com
Subject: Re: Mentioning CPU for Windows build in docs
In-Reply-To: <538D41F6.8020104@tpf.co.jp>
References: <CAB7nPqTTMCxqSrkXtOEZJfs=v4bxFvtqZFZwTT+n19xoG0oqNg@mail.gmail.com> <538C2719.1020405@vmware.com> <CAB7nPqRtwVV0YP9JtxjzFs5oNxeeiO+YBNwXfpasQr31kG4JHQ@mail.gmail.com> <538C2A94.4090904@vmware.com> <538C5674.8020407@vmware.com> <CAB7nPqS_-=oijw5_2c9f37pqnapu9DBkqBdeo05BHwcXuOqZqw@mail.gmail.com> <538C619A.8000505@tpf.co.jp> <538C660F.50505@vmware.com> <538C9FB2.8050103@tpf.co.jp> <538CC1C6.9010007@vmware.com> <538D41F6.8020104@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