https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773

--- Comment #16 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #15)
> … the second issue - which is that we need a -B…. option for each library
> path that will be used for spec-substitution (.a for .dylib)

The necessary -B options are already in POSTSTAGE1_HOST_EXPORTS, through
POSTSTAGE1_CXX_EXPORT.


> I don't think we want to bootstrap libcc1 (that was what the patch was
> removing).
> 
> Probably the right example is gnattools - or something similar that only
> builds @stage#3.

I cannot find anything in the top-level Makefile that builds at stage3 and uses
POSTSTAGE1_HOST_EXPORTS, i.e. properly builds with the final compiler. Even
gnarls uses HOST_EXPORTS, so it would probably have similar problems. (Doesn't
it? I don't know cause I never build ada.)

Reply via email to