public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: LIU Hao <lh_mouse@126.com>
To: "Jonathan Yong" <10walls@gmail.com>,
	"Pali Rohár" <pali@kernel.org>,
	gcc-patches@gcc.gnu.org
Cc: Jacek Caban <jacek@codeweavers.com>, NightStrike <nightstrike@gmail.com>
Subject: Re: [PATCH] Add MinGW option -mcrtdll= for choosing C RunTime DLL library
Date: Mon, 12 Jun 2023 09:26:29 +0800	[thread overview]
Message-ID: <47c4f558-8972-1272-3ccb-1e868ccef14a@126.com> (raw)
In-Reply-To: <2617dc57-ec7a-197b-411f-db4b48d04bc2@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 715 bytes --]

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



-- 
Best regards,
LIU Hao


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2023-06-12  1:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27 10:14 Pali Rohár
2023-06-11 23:08 ` Jonathan Yong
2023-06-12  1:26   ` LIU Hao [this message]
2023-06-12 23:13     ` Jonathan Yong
2023-06-13  6:29       ` Pali Rohár
2023-06-13  8:40         ` LIU Hao
2023-06-14 16:09 ` [PATCH v2] " Pali Rohár
2023-06-16 13:18   ` Jonathan Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47c4f558-8972-1272-3ccb-1e868ccef14a@126.com \
    --to=lh_mouse@126.com \
    --cc=10walls@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jacek@codeweavers.com \
    --cc=nightstrike@gmail.com \
    --cc=pali@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).