Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 1995 02:19:04 -0500 (CDT)
From:      Mike Pritchard <pritc003@maroon.tc.umn.edu>
To:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes)
Cc:        nate@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com
Subject:   Re: cvs commit: src/sys/i386/conf Makefile.i386
Message-ID:  <199504040719.CAA07819@mpp.com>
In-Reply-To: <199504030240.TAA03137@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Apr 2, 95 07:40:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > nate        95/04/02 18:13:51
> > 
> >   Modified:    sys/i386/conf Makefile.i386
> >   Log:
> >   Added -I/usrinclude to the tail end of the INCLUDES line.  This hack
> >   will cause kernel compiles to work even if the src/includes directory
> >   doesn't exist but still do the 'Right Thing' and pull files from the
> >   source tree if it does exist.
> >   
> >   Reviewed by:	Bruce Evans
> 
> Humm.. now what happens when these unknowing fools update there
> /usr/src/sys tree and don't update /usr/include to match.  They are
> going to get kernel compiles that fall over, and we are going to
> get bug reports about strange things happening :-(.
> -- 
> Rod Grimes                                      rgrimes@gndrsh.aac.dev.com

My feelings are that you should be able to build anything in /usr/src
without /usr/include even being present on the machine you are running
the build on.  A good example might be that you have a development machine
where you keep all of your sources, say a 2.0 source tree for your production
machines, and a -current source tree for a development machine or two.
If anything in the sources depends on /usr/include, one of those source
trees isn't going to be happy.

Now, just for the record, there are many things on the source tree that
require that /usr/include contain the right version when doing a 
"make all" in /usr/src.  This past weekend I was doing a make all,
and there were a few files in libc that wouldn't compile until I installed
the current include files into /usr/include.  The previous time I did
a make all I had the same problem.
-- 
Mike Pritchard
pritc003@maroon.tc.umn.edu
"Go that way.  Really fast.  If something gets in your way, turn"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504040719.CAA07819>