From owner-freebsd-current Tue Jun 25 10:17:24 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA18963 for current-outgoing; Tue, 25 Jun 1996 10:17:24 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA18957 for ; Tue, 25 Jun 1996 10:17:19 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id DAA17130; Wed, 26 Jun 1996 03:15:32 +1000 Date: Wed, 26 Jun 1996 03:15:32 +1000 From: Bruce Evans Message-Id: <199606251715.DAA17130@godzilla.zeta.org.au> To: bde@zeta.org.au, jkh@time.cdrom.com Subject: Re: Building inside of /usr/src? Cc: freebsd-current@FreeBSD.org, nate@sri.MT.net Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> >P.S. I still don't see how this makes it useless at all - this is how >> >it *should* work! >> >> Because the default object directory for joe user running make in >> /home/joe/src/prog is /usr/obj/home/joe/src/prog. >And..? It's correct! It's the same way it *used* to be, in fact. No, it used to go only to subdirectories of `prog' which joe can create (namely obj.`uname -m`, obj and "." in that order). Now the existence of /usr/obj/home/joe/src/prog makes it difficult for joe to even build things in the current directory :-(. >Unless you by luck had your src directory *really* under /usr/src, the >sed script which intended to strip /usr/src off always failed and >you'd end up with /usr/obj/actual/source/path/, something >which was guaranteed in the case where you had "joe" checking out and >building parts of his own tree. That's for building the FreeBSD src tree. A subdirectory named "obj" or simply "." worked well enough for single directories, although things were broken for the whole tree. I'm complaining about "obj" being broken for non-FreeSBD sources and "." being broken if the tree in /usr/obj somehow mirrors joe's tree. Bruce