gcc and include dirs -> do we need a /etc/includes.conf?

Michael S. Zick mszick@goquest.com
Fri Feb 28 19:33:00 GMT 2003


On Friday 28 February 2003 12:47 pm, Mike Stump wrote:
> On Thursday, February 27, 2003, at 11:19 PM, Gerold J. Wucherpfennig
>
> 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.
> >
If using the GNU configure/make system...
Consider setting up a "config.site" file.

Attached sample is from the tiff-v3.5.7 package.

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.site.bz2
Type: application/x-bzip2
Size: 3061 bytes
Desc: Sample Site Config File
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030228/6ee80c5e/attachment.bz2>


More information about the Gcc mailing list