From owner-freebsd-arch Tue Nov 23 5:49:50 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 3F8DA150C9 for ; Tue, 23 Nov 1999 05:49:42 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id OAA10770 for ; Tue, 23 Nov 1999 14:49:24 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA26173 for freebsd-arch@freebsd.org; Tue, 23 Nov 1999 14:49:23 +0100 (MET) Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id EC715150C9 for ; Tue, 23 Nov 1999 05:49:04 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id D962E1CC8; Tue, 23 Nov 1999 21:49:00 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Marcel Moolenaar Cc: freebsd-arch@freebsd.org Subject: Re: Cross-building (was: cross compilation goals) In-Reply-To: Message from Marcel Moolenaar of "Tue, 23 Nov 1999 14:25:30 +0100." <383A95CA.AC00E8B@scc.nl> Date: Tue, 23 Nov 1999 21:49:00 +0800 From: Peter Wemm Message-Id: <19991123134900.D962E1CC8@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marcel Moolenaar wrote: > 1. Remove support for /etc/objformat > ------------------------------------ > > The reasons for this change are: > o /etc/objformat does not exist anymore, > o It interferes with cross-compilation. > > The last bullet is explained by the following situation: Assume we want > to (source) upgrade from 3.0-RELEASE to -current. The machine has > /etc/objformat which contains OBJFORMAT=aout... > > The functionality lost by this removal is nicely covered by the ability > to specify OBJFORMAT in the environment. I'm not so sure about this particular change, and this part is far from complete. /etc/objformat is referred to from quite a number of places including libc (see getobjformat(3)) and the *.mk files, documentation and (I believe) a book. The purpose of /etc/objformat is to allow overriding which defines the system default format. Since it isn't practical to recompile the system to change the default for some development task for a few days, we have an override of the default. role. It's purpose was to allow conditional overrides. Certain places in the source tree had "OBJFORMAT?= foo" which meant that the default for a given part of the tree would be changed unless the builder had explicitly set it. This used to be more "magic" than it is today, but I still feel it's useful to have the two seperate. Finally, as you say, we don't ship with the file present by default, so it doesn't interfere with cross builds. I don't see why it has to be killed.. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message