This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and include dirs -> do we need a /etc/includes.conf?
On Fri, Feb 28, 2003 at 04:32:12PM +0100, Gerold J. Wucherpfennig wrote:
> On Friday February 28 2003 08:19, I wrote:
> > I've installed many packages into /opt to
> > get rid of "put everything into /usr/bin".
> >
> > Now my CFLAGS and CXXFLAGS lines are _really_ long,
> > because I have to include the include dir of each /opt dir.
> > ( -I/opt/package/include ...)
> >
> > Is there any chance to get a "includes.conf" file in /etc ?
> > This should be a kind of ld.so.conf and list all include directories
> > which gcc should include at compile time.
>
> Alternatively there could be a special envionment variable "INCLUDE_PATH" - a
> kind of LD_LIBRARY_PATH ...
Try C_INCLUDE_PATH.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer