This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: /usr/local/include before /usr/include?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]