Re: Mentioning CPU for Windows build in docs - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: Mentioning CPU for Windows build in docs
Date
Msg-id 538D445A.7030709@tpf.co.jp
Whole thread Raw
In response to Re: Mentioning CPU for Windows build in docs  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
(2014/06/03 3:37), Heikki Linnakangas wrote:
> On 06/02/2014 09:26 PM, 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.
>
> Oh, hang on. There's a file called buildx86.ps1 in the top directory,
> which calls "nmake /f win32.mak ...". So that's another PowerShell
> script, but it doesn't use MSBuild; it uses nmake.
>
> My guess: you created buildx86.ps1 and buildx64.ps1 first. Later, you
> created buildAll.ps1, and made completely independent of the old
> makefiles, but never got around to changing buildx86.ps1 and
> buildx64.ps1 to use the new build method.

Oops I forgot to remove them? Or I may have left them because
they have restricted use for vc9 or before.
I don't object to remove them.

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



pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: Mentioning CPU for Windows build in docs
Next
From: "Inoue, Hiroshi"
Date:
Subject: Re: Problem retrieving a numeric(38,0) value as SQL_NUMERIC_STRUCT if value needs to use all 16 SQLCHAR elements of the val array