From: Alexandre Oliva <oliva@adacore.com>
To: Gerald Pfeifer <gerald@pfeifer.com>
Cc: Iain Sandoe <idsandoe@googlemail.com>,
Joseph Myers <joseph@codesourcery.com>,
GCC Patches <gcc-patches@gcc.gnu.org>,
Nathan Sidwell <nathan@acm.org>
Subject: Re: [PATCH] Introduce -nolibstdc++ option
Date: Wed, 05 Apr 2023 22:25:12 -0300 [thread overview]
Message-ID: <orsfddajk7.fsf@lxoliva.fsfla.org> (raw)
In-Reply-To: <2262fbfb-77b8-5901-4067-2db72226732e@pfeifer.com> (Gerald Pfeifer's message of "Fri, 31 Mar 2023 01:13:51 +0200 (CEST)")
On Mar 30, 2023, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Thu, 30 Mar 2023, Alexandre Oliva wrote:
>> How about this, does this seem useful?
> I like it - helpful and easy to understand. :-)
'k, I'm putting it in, thanks
On Mar 30, 2023, Arsen Arsenović <arsen@aarsen.me> wrote:
> IMO, yes - in fact, the libstdc++ manual even has a use-case for this
Yeah, and it also had the means to accomplish that already. -nostdlib++
was for the testsuite, that always uses g++ for linking C++ tests.
I suppose libstdc++ now has an alternative it might consider switching
to, namely using g++ -nostdlib++ rather than gcc to link itself, but
should it? I don't see the upside. Its build process is not broken,
it's not even inconvenient, so what's the expected benefit that the
change would bring about? As for downsides, I perceive risks of build
scripts (e.g. libtool)'s not yet having support for -nostdlib++, and
thus trying to use the flag could break rather than improve the state of
affairs. It feels like inviting trouble to me.
> If you think the flag you added fits here, would you mind also including
> this file in your patch?
The patch was for the online release documentation, it's not even the
same repository as libstdc++, so there's no way to add it to the same
patch.
Given that, and since I'm not so sure I understand what change you're
suggesting to libstdc++'s manual or build procedures, how about you
give it a shot yourself?
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
Disinformation flourishes because many people care deeply about injustice
but very few check the facts. Ask me about <https://stallmansupport.org>
prev parent reply other threads:[~2023-04-06 1:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 5:55 Alexandre Oliva
2022-06-21 7:37 ` Richard Biener
2022-06-21 7:53 ` Fangrui Song
2022-06-21 8:03 ` Richard Biener
2022-06-21 8:19 ` Fangrui Song
2022-06-22 0:36 ` Alexandre Oliva
2022-06-22 18:39 ` Iain Sandoe
2022-06-22 23:28 ` Alexandre Oliva
2022-06-22 23:42 ` Fangrui Song
2022-06-23 11:27 ` Alexandre Oliva
2022-06-24 5:23 ` Alexandre Oliva
2022-09-16 11:52 ` Jason Merrill
2022-09-16 11:53 ` Jason Merrill
2022-11-28 17:56 ` Jason Merrill
2023-02-11 9:09 ` Gerald Pfeifer
2023-03-30 11:23 ` Alexandre Oliva
2023-03-30 13:38 ` Arsen Arsenović
2023-03-30 23:13 ` Gerald Pfeifer
2023-04-06 1:25 ` Alexandre Oliva [this message]
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=orsfddajk7.fsf@lxoliva.fsfla.org \
--to=oliva@adacore.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gerald@pfeifer.com \
--cc=idsandoe@googlemail.com \
--cc=joseph@codesourcery.com \
--cc=nathan@acm.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).