Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 1995 16:58:42 -0800 (PST)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman)
Cc:        wollman@halloran-eldar.lcs.mit.edu, jkh@freefall.cdrom.com, nate@trout.sri.mt.net, current@freefall.cdrom.com
Subject:   Re: TRUE and FALSE
Message-ID:  <199502230058.QAA06598@ref.tfs.com>
In-Reply-To: <9502230051.AA09330@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Feb 22, 95 07:51:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 2) Programs which are not part of FreeBSD can use just what they feel like,
> > it's entirely their own problem.
> 
> > Can anybody explain what the problem is with this ?
> 
> There are four sets of interesting programs:
> 
> 1) Programs which are not a part of FreeBSD and do not use bsd.*.mk.
> When compiling, they should use the header files in /usr/include, and
> /usr/include/{sys,netinet,net,nfs,netiso,netccitt,machine} should
> point to the appropriate directories in the kernel source tree.

Correction:  which will be copies of the ... from the last time the
kernel and utilities was installed.  Otherwise use -I

> 2) Programs which are not a part of FreeBSD and DO use bsd.*.mk.  When
> compiling, they should use exactly the same header files and libraries
> as programs in set (1).
yes.  with the correction.

> 3) Programs which are a part of FreeBSD, but are being compiled
> outside of the source tree (perhaps the user doesn't have all the
> sources).  When compiling, they should use exactly the same header
> files and libraries as programs in set (1).
yes.  With the correction.

> 4) Programs which are a part of FreeBSD, and are being compiled as a
> part of `make all' from the top level.  When compiling, they should
> use the previously-built header files and libraries.  Note that this
> means it is no longer acceptable to put SUBDIRs in alphabetical order;
> instead, they must be topologically sorted.  There are probably loops
> which will need to be broken (that's what the `tools' target does).
yes.

So all it comes down to is that you have to use -I
qed.


-- 
Poul-Henning Kamp <phk@login.dknet.dk>
TRW Financial Systems, Inc.
I am Pentium Of Borg. Division is Futile. You WILL be approximated.



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