This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: /usr/local/include before /usr/include?
- To: Brian Ford <ford at vss dot fsi dot com>
- Subject: Re: /usr/local/include before /usr/include?
- From: David Starner <dvdeug at x8b4e53cd dot dhcp dot okstate dot edu>
- Date: Fri, 25 Feb 2000 12:58:02 -0600
- Cc: David dot Young at vviuh221 dot vvi dot com, gcc at gcc dot gnu dot org
- References: <10002251826.AA23503@vviuh221.vvi.com> <Pine.GSO.4.21.0002251235170.24389-100000@eos>
- Reply-To: dstarner98 at aasaa dot ofe dot org
On Fri, Feb 25, 2000 at 12:40:42PM -0600, Brian Ford wrote:
> On Fri, 25 Feb 2000, David Young wrote:
>
> > My 2cents:
> >
> > If someone overloads a system resource then that means they are specifically
> > asking for something different.
> >
>
> No, it means that they want the ability to have something different when
> they ask for it.
Most UNIX's have /usr/local/bin ahead of /usr/bin in the default path.
That seems to disagree with your interpreation. How is a system
adminstrator supposed to override a system include without messing
with /usr/include's, then?
> In one specific case here, I installed Mesa so that I could link some
> OpenGL applications for use on remote Xterms. But, when using it locally,
> I want the vendor version with hardware acceleration. By default, I get
> Mesa includes in /usr/local/include/GL instead of vendor includes in
> /usr/include/GL.
If I were you, I'd put the includes in /usr/local/include/Mesa/GL
or some other place where they weren't default. That would solve
the problem, without global changes.
--
David Starner - dstarner98@aasaa.ofe.org
Only a nerd would worry about wrong parentheses with
square brackets. But that's what mathematicians are.
-- Dr. Burchard, math professor at OSU