delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/09/03/22:49:24

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5842nOqJ4157776
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5842nOqJ4157776
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=GyjCq5kl
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A82A3858D1E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1756954163;
bh=uAxnKXjpvAihp6/tU3eJOWiwXTGhec5kSPkKZGHMcQM=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=GyjCq5klpdrnJS8pAf++2Pb12P+jlPgrJbWeeLT6auDsoweQjuBM0LcV3TV77d4LF
9kHD74TiS02d6DZLqhYYzYITVdDIcPDBsoq4aYNroPw69Xmbk8GmiMI6t05I0FHn+n
rU/bi7Ev5sAjpPi7HV9vhRNob0k8CDt+JyJbjiGY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 05D843858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 05D843858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756954092; cv=none;
b=OixcvlpCQbjjuxHwFoQUtf7YMCMxHfDcUKJ0d3/BHpoEZqDzbzYdFRmS3j7ZkpEKCxOIlQ27s/wiUHZsjEt9qq+vba9S3vDyML0NiWh4V+DZIgo1tAFVwEdJVc+L7EAtAujG0cjlhAplsJPva8svHr/ClpFc2e6hF4kam4z2xFs=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1756954092; c=relaxed/simple;
bh=xrfHR35qzbp9F83AjsiTb6peX4GG5d+tZ20PUTfE87U=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=A2fgtnfcpGapT7pc/e/fOrDp7odAk6RMkWjeupgeTv9WwtIE44+zbD8MxvK+19j3gI+HebGpq1CQnbec2p0b5q/NbGj81Q6EEHDRPTtS5F2PmB4y4hZ/DcnBW7LJoy3NasMQT9WE+2sZQfWhn2SqFuhMDQzPS1pASYFWJ+tBBCQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05D843858D1E
Message-ID: <6e326cb0-3029-4b9d-a894-52c4497228b2@SystematicSW.ab.ca>
Date: Wed, 3 Sep 2025 20:48:09 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Deploy DLL for ARM64 and AMD64 in the same PATH?
To: cygwin AT cygwin DOT com
References: <CAN0SSYzgFPPCabEtY=pnDNteq540AtcABiRBEtWk86LE9h_Cwg AT mail DOT gmail DOT com>
<ca398466-1c92-54b1-52c6-22812f9ea2cf AT jdrake DOT com>
Organization: Systematic Software
In-Reply-To: <ca398466-1c92-54b1-52c6-22812f9ea2cf@jdrake.com>
X-Stat-Signature: yf4secdbmm4jz9fg19a9d6qu6e1idiac
X-Rspamd-Server: rspamout05
X-Rspamd-Queue-Id: 370AF2000F
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+v6rl83sGpqkqWjpwsFkvdsNRA4KcULsU=
X-HE-Tag: 1756954090-110005
X-HE-Meta: U2FsdGVkX1+hxcPoIWeW+pfgNOt7pOKnN/hT0IxcJJPngLqtdldzJe3r8bd4QiZqZynQHvsOS49J936Ll0C+yT7z0JALL+GqydXpwrVAq07BMP5uMbrGRDUhd9UH4zYgUQqsRCE1QCKf5K82NxzsjOaJNj76/DypbfKz3LZhKbA7aqxIJlvCyrmt51sMBavs+nAKRWRI/GOxBnrSRyit57pck4aFxGs8uj6I6nAeM+SfwO9GSXC76+l9ymLzc1mbIgtpXDd0OYXEG3YvhYzc59Dxxq8xgH5aqw42wkLT8GqYet4C6rNoknE5rkvRkz+soSroyaVWT68t674gS37vBoODsW1aB0+G
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5842nOqJ4157776

On 2025-09-03 13:56, Jeremy Drake via Cygwin wrote:
> On Wed, 3 Sep 2025, Mark Liam Brown via Cygwin wrote:
> 
>> Greetings
>>
>> Our software needs a 3rd party DLL (we cannot change the name...), but
>> we want to support ARM64 together with AMD64.
>>
>> Does Windows or Cygwin have a mechanism to deal with the situation
>> that both expects the DLL to be in the same path?
> 
> Not really.  The closest thing is ARM64EC and ARM64X, a DLL built with
> those will let you use the same DLL for both ARM64 and x64, but only on
> ARM64.  I know there has been work to support those in LLVM/LLD and
> mingw-w64, don't know about gcc/binutils support.
> 
> I think they expect the installer to decide which type of DLL to install
> based on the host machine...

Cygwin x86_64 and aarch64 have to be installed under different Cygwin root 
directories, and the binaries and libraries under each root's /bin/, so no 
conflict can occur.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019