From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 06DD8398AC37 for ; Sun, 20 Nov 2022 16:19:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06DD8398AC37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62c.google.com with SMTP id ft34so23594924ejc.12 for ; Sun, 20 Nov 2022 08:19:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding: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=OihW8IB7W2TXc8RAwq9SYMebae+pLcntb+VuLhVyyR8=; b=HNnO/vEYkCrtVKXsAzcrjlrBqyTVxbIBTad6qsPZmAPshfwZFaG6QHLeIHR94DEl9O 1Z0e0adbarqpMAPhl8kALah79noMn0YjEmKeTj2yYCnwYJ1bdIV+dJIok5DwAO02r76u y/XEQjHQiB5vta84lJ9ce7o6EgwU5/CXaUQVWSOhOGbRjjuckW5LeRB7A6ujv7ao38b0 o3j6PCRpmC5jLbOPWE5IaMgEGs5uZ+c9Z0hlk88lglAeZL5AliQWdayjxEBem01SlYgQ VsNwsPGG0UTmBR+rjkaPGz3qr3zSpRHeYXWOpRmvlOLQB6BYlBZBpunfidhR6jTtJTeK /pVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=OihW8IB7W2TXc8RAwq9SYMebae+pLcntb+VuLhVyyR8=; b=TWg+EyccFllpavqi1Y3WkD2aAjug1BqHwq/tCg4VPgjdqj2xylZi4n7cbj1EqTN6AH 2emQHwLZH0JJUxwm6Fx1bPWx59+A7S3l81B4GzoE/8q0XiWXklVicL+vuoM1hKFznZ1b jaRqQ4P8TStKUgifmoH/yq3X/byCN20v4YgbGaEr94JUR3Kw0SbfZMxf3qhdiBaMCuqs CQAbh22CQUyhgKOattomtGxVxbhHH9wRvW2XBTSe3+cqcjuQQ330tF+Belv//1SS37V4 qDBWhlhY0DDJTKOklfFz/7p/a3rzEWwjd07546fdTw2UkfLDCFVqRDaVPU/xFaCriIfX O52A== X-Gm-Message-State: ANoB5pnX7hd+ycKhK19Ee1LeaNC1ZLMgwkv8xDdWmNTjQjyOge09Pbxc EjibXEUFWQHwH3RzkGaQ8qc= X-Google-Smtp-Source: AA0mqf4+IxpfqoOzEqgdA4dl25eYHUrtDIAuRr25qkyTxt6A//3dFCtLrNZb0Xntno7WYQ+aacyi2g== X-Received: by 2002:a17:906:fa19:b0:78d:9002:fe3b with SMTP id lo25-20020a170906fa1900b0078d9002fe3bmr8927938ejb.769.1668961194750; Sun, 20 Nov 2022 08:19:54 -0800 (PST) Received: from [192.168.87.136] (3e6bc644.rev.stofanet.dk. [62.107.198.68]) by smtp.gmail.com with ESMTPSA id u8-20020aa7d548000000b00459cd13fd34sm4148487edr.85.2022.11.20.08.19.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 08:19:54 -0800 (PST) Message-ID: <77009d18-1e2e-224b-63ea-82649741c6f2@gmail.com> Date: Sun, 20 Nov 2022 17:19:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library Content-Language: da To: mingw-w64-public@lists.sourceforge.net, Eli Zaretskii , =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: gcc@gcc.gnu.org References: <20221120125348.a6xh7kxmvrimse72@pali> <83cz9h65wc.fsf@gnu.org> <20221120150411.yimchs4ic3xtvny3@pali> <837czp6464.fsf@gnu.org> <20221120154408.us5szwo7eaiwz2ba@pali> <834jut62jc.fsf@gnu.org> From: ralph engels In-Reply-To: <834jut62jc.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Mmm yeah i newer seen problems with missing msvcrt.dll either going back as far as win9x there was some other missing runtimes but not that particular one. Den 20-11-2022 kl. 16:58 skrev Eli Zaretskii: >> Date: Sun, 20 Nov 2022 16:44:08 +0100 >> From: Pali Rohár >> Cc: gcc@gcc.gnu.org, mingw-w64-public@lists.sourceforge.net >> >>> Installing a redistributable is a nuisance, and dependence on non-system >>> libraries might make the program non-free. >> On new windows versions they may be preinstalled (depends on newness of >> windows version). > I'm talking about older ones. It is customary nowadays to build on Windows > 11 and then run on Windows 8. > >> And if your application uses features unavailable in >> older (or default) crt versions then this make application code >> simplifier. Also redistributable packages are in most cases installed by >> Windows update mechanism, which could be marked as system library. But >> well, this is more license discussion than development discussion... > I mentioned that because people might inadvertently build GPL'ed GNU > software using this option, and violate the GPL without knowing it. This is > relevant to those who read this list and port GNU software to MS-Windows. > >>>> Note that with this option, you can also choose older version than the >>>> default one (WinXP msvcrt.dll). So e.g. you can choose msvcrt20.dll or >>>> crtdll.dll for older Windows version. >>> Using the OS default MSVCRT already gets me that, at zero cost. >> Here "OS default MSVCRT" means Windows XP MSVCRT.DLL. >> >> On older windows versions there is no pre-installed MSVCRT.DLL. There >> is MSVCRT20.DLL or CRTDLL.DLL (based on oldness of windows version). So >> it is not at zero cost, you have yo either do that nuisance and install >> MSVCRT.DLL as you write above or switch to older CRT version which is in >> OS preinstalled. > I never saw any problems with programs linked against MSVCRT.DLL, on all > versions of Windows from XP up to Windows 10. None. > > > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public