#pragma system_header and bootstrap

Loren James Rittle rittle@latour.rsch.comm.mot.com
Mon May 22 12:58:00 GMT 2000


Branko Čibej <branko.cibej@hermes.si> wrote:

> I see that #pragma system_header is implemented in CVS GCC, and is
> used in the headers now. However, bootstrap with --enable-libstdcxx-v3
> fails when building the library:
[...]
> That's because configure finds the installed g++ and uses it instead
> of the bootstrapped compiler.

I don't see that in my environment.  libstdc++ is built with the g++
that was just built in the same tree.

> IMHO that's a bug, but I don't have
> time to track it down right now. So if somebody knowledgable about the
> configury could do something about that ... thanks.

I agree it is a bug if it is not due to the way you run a bootstrap.
Now, we need to determine why you see it and I don't.

Exactly how are you bootstrapping?  Are you using 'make bootstrap' at
the top-level?  Do you build directly in the source tree?  Do you pass
CC on the make command line?

Regards,
Loren


More information about the Libstdc++ mailing list