Re: [PATCH] Add native windows on arm64 support
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Dave Cramer <davecramer@postgres.rocks>,
Anthony Roberts <anthony.roberts@linaro.org>
Cc: Michael Paquier <michael@paquier.xyz>,
Peter Eisentraut <peter@eisentraut.org>, Daniel Gustafsson
<daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>,
Mike Holmes <mike.holmes@linaro.org>, Andres Freund <andres@anarazel.de>,
Thomas Munro <thomas.munro@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Lina Iyer <lina.iyer@linaro.org>
Date: 2024-01-25T21:32:39Z
Lists: pgsql-hackers
On 2024-01-25 Th 16:17, Dave Cramer wrote: > > > On Thu, 25 Jan 2024 at 16:04, Anthony Roberts > <anthony.roberts@linaro.org> wrote: > > Hi David, > > Unix "file" or "dumpbin /headers" in vcvarsall are your best bets. > > Thanks, > Anthony > > > > So there is another way, select the file in Windows Explorer and right > click, in the compatibility tab if the "Windows on ARM" is greyed out > it is an arm binary. > > So far mine are not :( > Yeah, I think the default Developer Command Prompt for VS2022 is set up for x86 builds. AIUI you should start by executing "vcvarsall x64_arm64". cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com
Commits
-
MSVC: Support building for AArch64.
- a516b3f00d74 19 (unreleased) landed
-
Remove "#ifdef WIN32" guards from src/port/win32*.c
- 09eb633e1baa 17.0 cited
-
Adjust XML test case to avoid unstable behavior.
- 4ea07e7cf3c6 16.0 landed
-
Enable RandomizedBaseAddress (ASLR) on Windows with MSVC builds
- 36389a060ca6 16.0 landed