latest snapshot won't find C++ header files

Alexandre Oliva
Thu Oct 8 13:47:00 GMT 1998

Manfred Hollstein <> writes:

>> The patch I have submitted is supposed to fix the gxx-include-dir
>> problem, but not the local-includes one.

The attached patch overrides the previous one.  It fixes both the
--with-gxx-include-dir and the --with-local-prefix problem.  There was 
a bug in the gxx-include-dir code in in the previous

> The source of the problem is: the root directory for locating files is
> $(libsubdir), and this usually *does not exist while you're building a
> new snapshot*,   hence assemblers, linkers,   binutils, include  files
> (forgot anything?)  won't be found at build time.

But they aren't currently found anyway, and they weren't found in the
install tree before.  Moreover, I'm not trying to fix this problem,
I'm fixing *another* problem, so rejecting this patch because it does
not fix the binaries-not-found problem is unfair :-)

In order to fix the binaries-not-found problem, wouldn't it be enough
to add another -B switch to GCC_FOR_TARGET, as well as to CC for
stages after stage1?

Alexandre Oliva
Universidade Estadual de Campinas, SP, Brasil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include.diff
Type: text/x-diff
Size: 3824 bytes
Desc: not available
URL: <>

More information about the Gcc-bugs mailing list