From owner-freebsd-current  Fri Oct  9 13:54:50 1998
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA17562
          for freebsd-current-outgoing; Fri, 9 Oct 1998 13:54:50 -0700 (PDT)
          (envelope-from owner-freebsd-current@FreeBSD.ORG)
Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17493
          for <current@FreeBSD.ORG>; Fri, 9 Oct 1998 13:54:20 -0700 (PDT)
          (envelope-from jb@cimlogic.com.au)
Received: (from jb@localhost)
	by cimlogic.com.au (8.9.1/8.9.1) id GAA21635;
	Sat, 10 Oct 1998 06:57:25 +1000 (EST)
	(envelope-from jb)
From: John Birrell  <jb@cimlogic.com.au>
Message-Id: <199810092057.GAA21635@cimlogic.com.au>
Subject: Re: put elf obj tree directly underneath /usr/obj
In-Reply-To: <199810092046.WAA06144@zibbi.mikom.csir.co.za> from John Hay at "Oct 9, 98 10:46:27 pm"
To: jhay@mikom.csir.co.za (John Hay)
Date: Sat, 10 Oct 1998 06:57:24 +1000 (EST)
Cc: jb@cimlogic.com.au, current@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL40 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

John Hay wrote:
> > > Ok, what about making MAKEOBJDIRPREFIX=/usr/obj/elf the default on elf
> > > systems then? Then it can stay like that for ever.
> > 
> > After 3.0, I'd like to change `make' to use objformat(3) (now in libc).
> > When we upgrade the compiler to something newer, I'l like to see that
> > installed in /usr/libexec/elf and accessed via the objformat(1) link
> > like the other tools. This makes way for a clean cross compilation
> > environment and only leaves the problem of the internal build tools.
> 
> So are we going to leave the setup like it is for 3.0? Ie. where if you
> do a "make world" and cd /usr/src/bin/sh (or wherever) and do a make, it
> use different obj directories?

Yes. When you cd /usr/src/bin/sh (or wherever) and do a make, you are not
using WORLDTMP like `make world' does, so the behaviour is different anyway.
The bug is that `make all' from /usr/src uses the obj tree that `make world'
uses.

This doesn't affect the release. "Developer convenience" commits have to
wait until after 3.0.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message