public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: ibuclaw@gdcproject.org
To: Iain Sandoe <idsandoe@googlemail.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [committed] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
Date: Tue, 5 Oct 2021 10:02:01 +0200 (CEST)	[thread overview]
Message-ID: <799417153.11045.1633420921355@office.mailbox.org> (raw)
In-Reply-To: <C8EE3A45-E9F0-44F0-A202-52FB8D7988F4@googlemail.com>

> On 04/10/2021 18:48 Iain Sandoe <idsandoe@googlemail.com> wrote:
> 
> For targets that don’t support HAVE_LD_STATIC_DYNAMIC it would be useful
> to push the option back out, so that they can use that to substitute a static version
> of the library using %:replace-outfile(-lxxxxx libxxxxx+.a%s) [ see darwin.h for 
> examples. ] .. I suppose we could figure out a follow-on patch and test that on
> Darwin?
> 
> so
> #else
>  … code to push the -libstdc++ out
> 
> (yes, we do have this problem also with the g++ driver… I posted a patch eons
>  ago .. but suspect it was never applied)
> 

Sure, seems reasonable to me, will follow up.

I had a look at darwin.h, and it occurs to me that you probably will be wanting -static-libphobos added there as well, which means moving that option to common.opt.

Iain.

  reply	other threads:[~2021-10-05  8:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 16:00 Iain Buclaw
2021-10-04 16:48 ` Iain Sandoe
2021-10-05  8:02   ` ibuclaw [this message]
2021-10-05 20:03     ` Iain Sandoe

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=799417153.11045.1633420921355@office.mailbox.org \
    --to=ibuclaw@gdcproject.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=idsandoe@googlemail.com \
    /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).