This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libcc1 breaks bootstrap on darwin


On Sun, Nov 23, 2014 at 1:27 PM, FX <fxcoudert@gmail.com> wrote:
> Hi libcc1 team and build maintainers,
>
> Since libcc1 isnât bootstrapped anymore, it breaks bootstrap on darwin with GCC as the system compiler (which isnât the default, but is still pretty common, notably for people who need to build the Ada compiler): https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64023
>
> When libcc1 is built at stage3, the freshly built g++ compiler is used, but itâs not given the proper CXXFLAGS to go with, in particular the -B options pointing towards libstdc++ and libsupc++. I think thatâs because, when built from the top-level Makefile, it is made with $(HOST_EXPORTS) but not with $(POSTSTAGE1_HOST_EXPORTS).
>
> However, I do not know how to fix that. As I understand it, this part of the Makefile is generated from the information in the toplevel Makefile.def, but I do not know how to enter that information there. Could someone help?
>
>

I saw

 -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?



-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]