Subject: Re: X11R6's odd directory layout
To: Tim Rightnour <root@garbled.net>
From: Soren S. Jorvang <soren@wheel.dk>
List: tech-pkg
Date: 10/10/1999 08:47:13
On Sat, Oct 09, 1999 at 11:41:22PM -0700, Tim Rightnour wrote:
> On 09-Oct-99 Miles Nordin wrote:
> >  and X includes in
> > /usr/include/X11. 
> 
> I've allways thought the rationale behind this was so that a compile with:
> 
> cc -o Xfoo xfoo.c
> 
> would work without any problems, because:
> 
> #include <X11/xlib.h> (or whatever)
> and /usr/include being in the standard -I path..  It's a novel concept I
> guess.. but it's a really annoying layout if you ask me.

While I rather like /usr/{bin,include,lib}/X11, I really think that
(even) without it, we should add /usr/{X11R6,pkg}/{include,lib} (and
perhaps even /usr/local as well) to the default gcc/binutils paths
like we have done with foo/bin for _PATH_DEFPATH/_PATH_STDPATH.


-- 
Soren