From owner-freebsd-current Fri Apr 16 22:37:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 46ED214EFA for ; Fri, 16 Apr 1999 22:37:46 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.2/8.9.1) id WAA70702; Fri, 16 Apr 1999 22:35:21 -0700 (PDT) (envelope-from obrien) Message-ID: <19990416223520.A70668@nuxi.com> Date: Fri, 16 Apr 1999 22:35:20 -0700 From: "David O'Brien" To: "Daniel C. Sobral" Cc: current@FreeBSD.ORG Subject: Re: make aout-to-elf on -current? Reply-To: obrien@NUXI.com References: <19990416202430.C70132@nuxi.com> <199904160654.AAA07198@harmony.village.org> <199904170422.WAA12900@harmony.village.org> <371819E8.3A8E0432@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <371819E8.3A8E0432@newsguy.com>; from Daniel C. Sobral on Sat, Apr 17, 1999 at 02:19:36PM +0900 X-Operating-System: FreeBSD 3.1-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > No. make aout-to-elf builds a.out versions of everything first, then > > uses them to build the elf versions. > > Correct. Older compilers would not be able to generate elf targets, > so we have to update the compiler first. Right. But the 2.x system should build the compiler (and bootstrap libs) statically and install them in /usr/obj/..../tmp. Then the "make world" should stop dead in its tracks and use the compiler in /usr/obj/..../tmp [which itself is an a.out binary] to start a new "make world" where the output are ELF images. I've glossed over a little bit here -- I think maybe we need a /usr/src/Makefile.aout-to-elf and the upgrade path is now: make -f Makefile.aout-to-elf {,buildworld,installworld} > The system actually makes a complete world first, because of arcane > reasons better left unexplained, True.. and I bumped into the same mess in the compiler upgrade > lest one would gradually become insane. As I did in the EGCS bootstrap. ;-) -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message