latest snapshot won't find C++ header files

Alexandre Oliva oliva@dcc.unicamp.br
Thu Oct 8 13:47:00 GMT 1998


Manfred Hollstein <manfred@s-direktnet.de> 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 configure.in in the previous
patch.

> 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
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~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: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981008/827c8704/attachment.bin>


More information about the Gcc-bugs mailing list