latest snapshot won't find C++ header files

Alexandre Oliva
Sat Oct 10 10:15:00 GMT 1998

Manfred Hollstein <> writes:

> On nil, 8 October 1998, 14:07:18, wrote:
>> 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
>> patch.

> I just tested your patch with a recent CVS checkout, and it works OK!


> There is only one new problem: Jeff fixed the defines for compiling
> cpplib.o, and he added the same problem as with cccp.o; you should
> add the -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" to cpplib.o's
> rule, too. If you're going to add this, I'll withdraw my patch `PATCH
> to make g++ find its include files again'.

Well, I'm just waiting for my patch to be approved by someone with
authority for that.  I've just copied the fixed defines from cppp.o to 
cpplib.o; I may post a new patch upon request, or just commit it.

>> I'm fixing *another* problem, so rejecting this patch because it does
>> not fix the binaries-not-found problem is unfair :-)

> I'm sorry, my intention was not to attack anybody or to reject your patch;
> if it sounded this way, I honestly apologize!

Note the smiley.  I was just ``begging'' :-) Jeff to allow me to
install the patch, since he had originally rejected it.  It doesn't
have to do with you.

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

> I believe this would solve the problem, indeed.

Anyway, I'm still unsure about what is this binaries-not-found
problem.  I haven't observed it here, does it have anything to do with 
builds of binutils+egcs?

Alexandre Oliva
Universidade Estadual de Campinas, SP, Brasil

More information about the Gcc-patches mailing list