latest snapshot won't find C++ header files

Alexandre Oliva
Sun Oct 11 16:46:00 GMT 1998

Manfred Hollstein <> writes:

>     but simply adding "-B${exec_prefix}/${target}/bin" to the
>     appropriate ..._CFLAGS might be the better solution (again, this
>     is, what Alexandre suggested in his email).

Is this /bin at the end really needed?  Otherwise, the attached patch
that should do it...  It introduces absolute_tooldir in the top-level
Makefile and in the gcc subdir, and adds -B$(build_tooldir)/ wherever
some -B flag is issued to xgcc.  I hope this is enough, but I can't
test it myself now.

BTW, why does gcc/ defines tooldir as .../$(target_alias),
whereas the top-level Makefile defines it as .../$(target)?

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

More information about the Gcc-patches mailing list