This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with -static-libstdc++ on Mac OS X
- From: Simon Wright <simon at pushface dot org>
- To: Iain Sandoe <iain at codesourcery dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Thu, 18 Jun 2015 10:26:38 +0100
- Subject: Re: Problem with -static-libstdc++ on Mac OS X
- Authentication-results: sourceware.org; auth=none
- References: <C16C1E37-10FC-485A-9063-3041D240B809 at pushface dot org> <CAH6eHdRqhe-r+k+Y3PArAiAy0goObTFqLQHZ6Ett9ek5PtudXw at mail dot gmail dot com> <821A3339-EFD3-4A19-823A-C60C238A3C82 at codesourcery dot com>
On 17 Jun 2015, at 21:45, Iain Sandoe <iain@codesourcery.com> wrote:
> On 17 Jun 2015, at 21:29, Jonathan Wakely wrote:
>
>> On 17 June 2015 at 20:43, Simon Wright wrote:
>
>>> Any workrounds?
>>
>
>> yes, it doesn't work with current sources - I have a patch to make it
>> work for linkers without -Bdynamic/Bstatic
>
> NOTE: this is from my local "WIP" branch and hasn't been reviewed upstream - whilst it Works For Me(tm), it might not be acceptable there.
>
> let me know if it works for you,
Just building 4.9.3 (as patched by AdaCore) now.
For some reason the patch didn’t apply, though the line number was right — perhaps some mail-mangling. Did it by hand.
—S