Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.

2015-09-07 Thread Iain Sandoe
On 14 Jul 2015, at 18:45, Iain Sandoe wrote: > > On 14 Jul 2015, at 18:24, Jason Merrill wrote: > >> On 06/18/2015 04:12 AM, Iain Sandoe wrote: >>> The patch below pushes -static-libstdc++ onto the output command line (for >>> targets without -Bstatic/dynamic) so that such specs have an

Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.

2015-07-14 Thread Jason Merrill
On 06/18/2015 04:12 AM, Iain Sandoe wrote: The patch below pushes -static-libstdc++ onto the output command line (for targets without -Bstatic/dynamic) so that such specs have an opportunity to fire. Won't that produce an unrecognized flag error from the linker? Jason

Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.

2015-07-14 Thread Iain Sandoe
On 14 Jul 2015, at 18:24, Jason Merrill wrote: On 06/18/2015 04:12 AM, Iain Sandoe wrote: The patch below pushes -static-libstdc++ onto the output command line (for targets without -Bstatic/dynamic) so that such specs have an opportunity to fire. Won't that produce an unrecognized flag

Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.

2015-07-12 Thread Iain Sandoe
Ping On 18 Jun 2015, at 09:12, Iain Sandoe wrote: Hi, This came up in a User question last night and reminded me that I had a patch for it in my Q. Usually g++ driver support for -static-libstdc++ is provided by -Bstatic -lstdc++ -Bdynamic and is currently disabled for targets

[PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.

2015-06-18 Thread Iain Sandoe
Hi, This came up in a User question last night and reminded me that I had a patch for it in my Q. Usually g++ driver support for -static-libstdc++ is provided by -Bstatic -lstdc++ -Bdynamic and is currently disabled for targets without that linker support. However, actually, there is