Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rT7L3-000Yo8-En for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2024 21:32:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rT7L2-004dMN-J0 for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Jan 2024 21:32:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rT7L2-004dLu-9T for pgsql-hackers@lists.postgresql.org; Thu, 25 Jan 2024 21:32:44 +0000 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rT7Kz-003Mia-Lp for pgsql-hackers@lists.postgresql.org; Thu, 25 Jan 2024 21:32:43 +0000 Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-42a49d42d17so24112851cf.1 for ; Thu, 25 Jan 2024 13:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1706218360; x=1706823160; darn=lists.postgresql.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=WekWZChUYa/7PRvVmNo12f4RiGv08mAXGJxNCA+p/tc=; b=ClOezDeVSqUkQ6tslFhlz5NgrFKbO4C0Zqqk1siOLMOHoqpaw1wMNa2LvN+XQhM+zt 1PhucXgvJx3Fx9YknXatt9r/atKXf/pje7FgNidWTzADTlvIHM5Z9OEprrBihEi3BT+k 92s5/WYmBSCgNzcIZ6jKVp0FvzCEa6L+i3wFMzIHHz8fCq3EKOBQplOrRztyNJOkjuu+ S+JyX2h9qxI975A9u6N0YCm53DaTaApnJobRWOCGfwHHhDhRVOSwCnLKbyyOr7HdgpNL jctO9lHNWuIbwp3UqSqlXcbntcABQ80jIOoOnFGu5KaeWsKAwaUpjAyiSwPbQ9zafpXR MfRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706218360; x=1706823160; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WekWZChUYa/7PRvVmNo12f4RiGv08mAXGJxNCA+p/tc=; b=iiryoU+5+IzfzDPOD3MO5YtkBb3S1pYas5MT5d2LVuzIt9fa+zBW2KSgKuJotpZJ77 BILfZZ/U/Bj+RM93GQ8G7PtZIgpjvH4EHRJ29l+kxMVjn9derE9wYkcW9sNVz0G8+5CM mjp2AAvDVctNk53VsLTIjE8fwq8o7Ne3X91h3QNyubkXJMfLjk463m6t1E8u/V038s+P gR1pE4UZAIc6qcadsFqDoIDZj1bsaSgvtM41np6+jlTf/I6pGpGc1E+3H9ntKe+HmOiq waQKSUsmlC+CTrFoUfiycGM2XoLlDDpzs5OTjqkbizcGJnlo6onPQr6/q0zXSqqN4GxO EQ6w== X-Gm-Message-State: AOJu0YyIpE3rIIFtC+lK6esp9OH/AFN8PDDUQsgnOSWg32ksG8rKCF/3 ZkmkUw9wfDpVGXJigwL7EBoXUMhHMU4crGzhRrT2H46UuGQ2mWtw7i8e1q/7ln0= X-Google-Smtp-Source: AGHT+IGuGM6lR4BstjfoEwOIsFf/ujfqte+x22xsDxcbUJY5VbBqAeFb0ocSUEWy7MHx0y87/14SYQ== X-Received: by 2002:a05:622a:198f:b0:42a:5db3:ab45 with SMTP id u15-20020a05622a198f00b0042a5db3ab45mr328751qtc.26.1706218360418; Thu, 25 Jan 2024 13:32:40 -0800 (PST) Received: from ?IPV6:2605:a601:91f3:1900::2bb? ([2605:a601:91f3:1900::2bb]) by smtp.googlemail.com with ESMTPSA id l2-20020ac87242000000b004299fd63fdesm5750407qtp.4.2024.01.25.13.32.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 13:32:40 -0800 (PST) Content-Type: multipart/alternative; boundary="------------5qOyYhwL401TazLoV2jO5CAJ" Message-ID: <5ba3cae0-0375-c3e6-4bce-89165e09bdd3@dunslane.net> Date: Thu, 25 Jan 2024 16:32:39 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] Add native windows on arm64 support Content-Language: en-US To: Dave Cramer , Anthony Roberts Cc: Michael Paquier , Peter Eisentraut , Daniel Gustafsson , Tom Lane , Mike Holmes , Andres Freund , Thomas Munro , PostgreSQL Hackers , Lina Iyer References: <305608.1693457047@sss.pgh.pa.us> <69a26a2a-feaa-43c0-bed3-0f5c2b569a28@eisentraut.org> <70d20b11-8ed8-a34e-32d1-8f3015dd771b@dunslane.net> From: Andrew Dunstan In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------5qOyYhwL401TazLoV2jO5CAJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-01-25 Th 16:17, Dave Cramer wrote: > > > On Thu, 25 Jan 2024 at 16:04, Anthony Roberts > 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 --------------5qOyYhwL401TazLoV2jO5CAJ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


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
--------------5qOyYhwL401TazLoV2jO5CAJ--