This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libcc1 breaks bootstrap on darwin
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, pmuldoon at redhat dot com, Jakub Jelinek <jakub at redhat dot com>, Tom Tromey <tromey at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 23 Nov 2014 15:21:19 -0800
- Subject: Re: libcc1 breaks bootstrap on darwin
- Authentication-results: sourceware.org; auth=none
- References: <94381BB6-563C-44EE-910E-9569410F2AB5 at gmail dot com> <CAMe9rOrJt__Lge0-1zF=6usLAtJO-NFbm4j6cecVPigzJSAZ2A at mail dot gmail dot com> <B48EEBFD-5459-4B64-AD60-D15154442A45 at gmail dot com>
On Sun, Nov 23, 2014 at 2:12 PM, FX <fxcoudert@gmail.com> wrote:
>> -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
>> Why aren't they sufficient for MacOS linker to find libstdc++.a?
>
> Because itâs gonna also use -static-libstdc++, which relies on spec substitution, for which -L is not enough.
>
It seems to work on Linux.
--
H.J.