Re: [committed] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-05 Thread Iain Sandoe
Hi Iain, > On 5 Oct 2021, at 09:02, ibuc...@gdcproject.org wrote: > >> On 04/10/2021 18:48 Iain Sandoe 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

Re: [committed] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-05 Thread ibuclaw--- via Gcc-patches
> On 04/10/2021 18:48 Iain Sandoe 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(-lx libx+.a%s) [ see darwin.h > for

Re: [committed] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-04 Thread Iain Sandoe
Hi Iain > On 4 Oct 2021, at 17:00, Iain Buclaw via Gcc-patches > wrote: > > Hi, > > This patch adds handling of `-static-libstc++' to the gdc driver, so > that libstdc++ is appropriately linked if it is either needed or seen on > the command-line. > > This is required for bootstrapping the

[committed] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-04 Thread Iain Buclaw via Gcc-patches
Hi, This patch adds handling of `-static-libstc++' to the gdc driver, so that libstdc++ is appropriately linked if it is either needed or seen on the command-line. This is required for bootstrapping the self hosted D front-end, so will also be backported to all supported releases. Bootstrapped