delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/31/10:58:09

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F4803858428
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1706716687;
bh=UlRMeroIlD+O8/LHHazzUl3TaUpyU6OfbRHspdWMlJ8=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ydJjS3bXMrcywxH8Z+5G9gkoJ+ll5cvA3jZXULD5xCkWSgGPL/riPd01/XNJGne2L
R9kB1YPBaPmJXZvhrsqKvzF+WVWHYsI7fSUfeBm326uLh4FL7ZZ6WkdG6jsVTptUw0
rzyoshV+AahgShjCriTK28/pYiyAZzZMYIlCS1BE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2145E3858C29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2145E3858C29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706716621; cv=none;
b=TDXzx0rXgRLYb8fgwKuz8USTj2esKobsMni2LM4aGahp1bNx5odQSZBsPHHOeT9J5QbVvD3ApmZXC2vLirPZRf7shLC3yomOP8qMGKoYxU/0M4RfkzpY7GygYCSUAA0OCOeG+kV3DJ3mUK5hDGaUxqpUscrUnfUoTjLoMBr95n0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1706716621; c=relaxed/simple;
bh=lmMg4zWYuugTgwmhUfn8GhhuZmDUqNY2YAxVlWv6gIg=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=lmcIMo9mUgIjaFXVh3xFKTZh7G4UZoWQ06IHxtdw8fd8bS8xJ8UaZL2sD+goj0QlGEtzox622znnt3q7ycPYymQ0UCf89tqUP2eBu0stXES5LKcbvq9L1kdhVf/gIQCTXeRfYRDhAcL79oOUDVS7bFJFbokWpszxslhvKx3ylTA=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1706716618; x=1707321418;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=RKVuq2e0yWOfzpfufSMnZrK+WCehtHmZdseFz7AhIXs=;
b=eylODXikF9kmXpiHwSGs5pSs/1d1y9Ah4aQznIfWjyrlZBbhTz/E7lmS7qTCftuS/A
XOPQ1YpwU/OtSFhuSC1qSvs+DFXpZe89qk6J8UhU+iuyujXI7iWRTjBkRhBlqTC3KKtH
6S//qFj0otARbQW4Y0vP9vUwP29HLWy2O8DgNvm//oSPpe7Q/8+EMBQzrX/NMqCxzMRz
2H8TNMF004lJbgxsaqvCM7KNoXZ3KLbEMbyyCZH5tllDHLMD8Vg0/mSk4Dew7x3P0g9u
2jREbPgtSX+YD2FAy83WYt0PzgwcBCPBKDoNLtWJMNYJ4EGyGHRpAbRYClBA/fiMwKrl
97zw==
X-Gm-Message-State: AOJu0YxE8l39537601ItFVCdjaxJkm1h2d18QXstzYcYRLdZXKCGMI2p
dRsJurq8cZnQXQ4WKtk1RD68gxGaqvyLuPDng4GFYZ5igYUxvNZ9vpYO2Pl1
X-Google-Smtp-Source: AGHT+IHDTrRZ/nViC6pRJunLUSWhZOKXE0vX10W1AV14HQ7qCOmeR0LZY2rpCts4LW/DZRfmJuMDRA==
X-Received: by 2002:a05:6820:1c8e:b0:599:49ec:6d15 with SMTP id
ct14-20020a0568201c8e00b0059949ec6d15mr2646247oob.1.1706716618385;
Wed, 31 Jan 2024 07:56:58 -0800 (PST)
Message-ID: <5fce2f8a-4ea6-4987-9296-a45f329a2cb8@gmail.com>
Date: Wed, 31 Jan 2024 09:56:59 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Aren't Windows System Error popups meant to be disabled in Cygwin?
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAJQQdJiOEduFeAthZ+q+LNXV33aJOhAXqq3sCaxdCqRpAjVmvA AT mail DOT gmail DOT com>
In-Reply-To: <CAJQQdJiOEduFeAthZ+q+LNXV33aJOhAXqq3sCaxdCqRpAjVmvA@mail.gmail.com>
X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene DOT berber AT gmail DOT com>
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>

On 1/31/2024 7:40 AM, David Allsopp via Cygwin wrote:

> Starting with this very trivial C program:
> 
> #include <stdio.h>
> #include <zstd.h>
> 
> int main(void) {
>    printf("Zstandard v%d\n", ZSTD_versionNumber());
> }
> 
> and compiling with
> 
> x86_64-w64-mingw32-gcc -o test.exe test.c -lzstd
> 
> when I then run ./test.exe, I get the Windows critical-error-handler
> dialog stating "The code execution cannot proceed because
> libzstd-1.dll was not found. Reinstalling the program may fix this
> problem."
[snip]

x86_64-w64-mingw32-gcc is a cross compiler, a.k.a. the Mingw compiler, 
not Cygwin's gcc.

It is quite correct for a cross compiler meant to produce Windows 
executables to do what you are seeing.  The executable is independent of 
Cygwin, i.e. doesn't use the Cygwin dll.
-- 
RB



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