From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 7EAE73858CDB for ; Mon, 12 Jun 2023 23:12:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7EAE73858CDB 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-pf1-x436.google.com with SMTP id d2e1a72fcca58-653fcd58880so3909357b3a.0 for ; Mon, 12 Jun 2023 16:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686611550; x=1689203550; 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=KSQ11/d/Ja9Wl3ClLwrVc7I6S2gdz+vttt26NrqcDVA=; b=LybNe62GeEBwYRogotKtOxsZ/UkkqIqtYQfKcllk9SqCiMd7pI/bLihyfGudnT3DRL BloSY6MNVvV7igjmihMaIWLjcPNjhmtSzVsIh2D0QiB3+o8Pfm8tyslRuLF9X1heJ9ex KuhP7zYpV19z1ZLxQLqPdx64W/qpGGp5U+6m1SxZLCvJEUFAdZyBbNE5VzeFIjJIHiG+ An4SGDvMDnxHs+M9fcTS50zKX/zaDq7SNHxtNDDQLmenely2ku013xlyWcepjJCAicOY 5eeCpy6UgPlLIKHBbCMnTsxH1y7Mr2H6y7AaUmBP4dxJ3YKmZklnMEvqEgHMOSNk1g+4 numg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686611550; x=1689203550; 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=KSQ11/d/Ja9Wl3ClLwrVc7I6S2gdz+vttt26NrqcDVA=; b=hUZjvrw2FNm1DqEt5H+D8F2P11gJM+suCm5bDPggliu6vczIaitN+AFWKZWlWfpMS8 O+86IzHIiY7InaBD6eage0GOqa16mfW49HQLAY5WlRk4LeMyWoqG20ctUx3u2+rYYe3c OSSdW2AOGhXgzqKzqdrwr6pEj/AMROR+Q5+KtxNsUZtwf35rmcPxR2CL6K/09vf73YYp fCWJv2bv7WjIVOLibgMfRE+FiKVwWGSLJJYsLvVs9l7aI+3KT2FPx/+IYW1JNSVIe4LQ Pp8op/XnDHwpLsckkyOBmEeYWm89GzwVmDBaQ6HfWPfdONcPikRD5vDe2QQmVz1lBr2a yZcA== X-Gm-Message-State: AC+VfDw+i5rl1LS2iHUQDKYVQ8uOI72gKesOwB1DDqryomE50Ehi1HH/ hnZOvp3/vCqkG6UlA8kKmD4= X-Google-Smtp-Source: ACHHUZ7ZQv5ZKbglzI6Q5djpnzHRtByH4Z33wj/qOlHVheL8X+pRdhWsa3BVlMi77pc2e/xcyc35rQ== X-Received: by 2002:a05:6a20:4417:b0:110:9210:f6ac with SMTP id ce23-20020a056a20441700b001109210f6acmr12020821pzb.37.1686611550231; Mon, 12 Jun 2023 16:12:30 -0700 (PDT) Received: from ?IPV6:2001:f40:91b::57b9? ([2001:f40:91b::57b9]) by smtp.gmail.com with ESMTPSA id u5-20020a62ed05000000b00652c103d534sm4929353pfh.118.2023.06.12.16.12.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 16:12:29 -0700 (PDT) Message-ID: <6d1db80b-703f-52e1-5860-8dd32572914f@gmail.com> Date: Mon, 12 Jun 2023 23:13:00 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] Add MinGW option -mcrtdll= for choosing C RunTime DLL library Content-Language: en-US To: LIU Hao , =?UTF-8?Q?Pali_Roh=c3=a1r?= , gcc-patches@gcc.gnu.org Cc: Jacek Caban , NightStrike References: <20230527101412.19562-1-pali@kernel.org> <2617dc57-ec7a-197b-411f-db4b48d04bc2@gmail.com> <47c4f558-8972-1272-3ccb-1e868ccef14a@126.com> From: Jonathan Yong <10walls@gmail.com> In-Reply-To: <47c4f558-8972-1272-3ccb-1e868ccef14a@126.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3032.3 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,T_SCC_BODY_TEXT_LINE 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: On 6/12/23 01:26, LIU Hao wrote: > 在 2023/6/12 07:08, Jonathan Yong 写道: >> +preprocessor is done. MinGW import library @code{msvcrt} is just a >> +symlink (or file copy) to the other MinGW CRT import library > > I suggest a change to this line: > >    symlink to (or a copy of) another MinGW CRT import library > > > Also, as discussed earlier, linking against a CRT version different from > the value of `__MSVCRT_VERSION__` in _mingw.h is not officially > supported and should be warned. So maybe we can append a paragraph to > the documentation: > >    Generally speaking, changing the CRT DLL requires recompiling >    the entire MinGW CRT. This option is for experimental and testing >    purposes only. > > > Pali, mind updating the patch?