From owner-freebsd-current Sat May 30 15:07:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12347 for freebsd-current-outgoing; Sat, 30 May 1998 15:07:05 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA12335 for ; Sat, 30 May 1998 15:07:00 -0700 (PDT) (envelope-from rkw@dataplex.net) Received: from [208.2.87.10] (user10.dataplex.net [208.2.87.10]) by shrimp.dataplex.net (8.8.8/8.8.5) with ESMTP id RAA00172; Sat, 30 May 1998 17:06:50 -0500 (CDT) Date: Sat, 30 May 1998 17:06:50 -0500 (CDT) X-Sender: rkw@mail.dataplex.net Message-Id: In-Reply-To: <199805302148.HAA15922@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Bruce Evans From: Richard Wackerbarth Subject: Re: elf vs. bsd.*.mk Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 9:48 PM -0000 5/30/98, Bruce Evans wrote: >>>We want them defined for all bsd.*.mk files if they are "constant". >>>BINDIR can not be defaulted because it varies within a single world, >>>and LIBDIR is variable if you want it to put {aout,elf} in it. >> >>Virtually NOTHING is constant. Quite often if may be desirable for >>it to take on a default value because we have not specified any >>overriding value. > >Virtually everything is "constant", i.e. has the same values for all >sub-makes. > >>I SHOULD be able to simultaneously compile, from the same source tree, >>systems for two different machine architectures and/or variations >>of compile parameters. > >Not in a single invocation of make. I agree. However, my concern is that the prior tendancy has been to expand the "invariant within a tree of sub-makes" into "globally constant across all uses". For example, there have been numerous assumptions that the source tree is ALWAYS in /usr/src. Here are still places that effectively assume that /x/y/z/../../y/z is the same as /x/y/z. In the presence of symbolic links, this may well be false. Richard Wackerbarth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message