"Gabor Z. Papp" <[EMAIL PROTECTED]> writes:
>
> How can I tell to gcc 2.95.1, that I want include *every time*
> /usr/local/include dir? Always editing Makefile works :) but I'm
> searching for a fix solution.
>
It is usually compiled into cpp when gcc is built:
~ $ strings /lib/cpp|grep /include
/usr/include
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include
/usr/i386-redhat-linux/include
/usr/local/include
/usr/include/g++-2
/include
~ $
If you do not want to rebuild gcc you can add it to the specs file
(/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs on my system)
I have not tried this (since I do not need to) but I would add the
-I/usr/local/include near the beginning of the *cpp: section.
Hope this helps.