From owner-freebsd-current Tue Jan 12 08:46:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10263 for freebsd-current-outgoing; Tue, 12 Jan 1999 08:46:02 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10239 for ; Tue, 12 Jan 1999 08:45:58 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id DAA09095; Wed, 13 Jan 1999 03:26:02 +1100 Date: Wed, 13 Jan 1999 03:26:02 +1100 From: Bruce Evans Message-Id: <199901121626.DAA09095@godzilla.zeta.org.au> To: current@FreeBSD.ORG, jhay@mikom.csir.co.za Subject: Re: /usr/obj/elf, /usr/obj/aout, /usr/obj - breaks make all vs make buildworld, and other things. Time to make elf the default Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I'd like to commit it, but first want to know if there is serious complaints >about it. It was a feature to build the world in a separate subdirectory. `make world' under certain conditions creates .depend files that are inconsistent with ones created by plain `make'. If you know enough about the world building process to avoid problems from this, then you should know enough to use the same obj directory tree for `make' as for `make world' (`MAKEOBJDIRPREFIX=whatever make'). I always build worlds in a separate obj tree on purpose. >The effect is that /usr/obj/elf is no longer used for the elf objects. >So if you do a make world and then later go and recompile something in >a subdirectory, it will use the same obj directory. Also snaps and >release source tarballs won't have the stray .o files anymore. `make world' could run `make cleandir' twice to clean up sloppily maintained obj trees. The first pass cleans the canonical object tree if it exists and the source tree otherwise, or parts of each if the canonical object tree is partial. The second pass cleans the source tree. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message