From owner-freebsd-hackers Mon Nov 20 09:09:44 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA20054 for hackers-outgoing; Mon, 20 Nov 1995 09:09:44 -0800 Received: from cls.net (freeside.cls.de [192.129.50.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA20043 for ; Mon, 20 Nov 1995 09:09:39 -0800 Received: by mail.cls.net (Smail3.1.29.1) from allegro.lemis.de (192.109.197.134) with smtp id ; Mon, 20 Nov 95 17:09 GMT From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-To: grog@lemis.de (Greg Lehey) Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id SAA22662; Mon, 20 Nov 1995 18:07:25 +0100 Message-Id: <199511201707.SAA22662@allegro.lemis.de> Subject: Re: elm problem - "solved" To: terry@lambert.org (Terry Lambert) Date: Mon, 20 Nov 1995 18:07:24 +0100 (MET) Cc: hackers@freebsd.org (FreeBSD Hackers) In-Reply-To: <199511192256.PAA01747@phaeton.artisoft.com> from "Terry Lambert" at Nov 19, 95 03:56:14 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1115 Sender: owner-hackers@freebsd.org Precedence: bulk Terry Lambert writes: > > > It's not voodoo, it's grotesque. Every time you change crt0.o, you > > need to change your object file recognition routines? What do you do > > if you're playing with crt0.o? > > Well, if you are smart, you aren't in this position in the first place > because you picked a different magic number when you changed the ABI > that the binaries use. > > If you're not smart, then you become grotesque as a damage control > mechanism. If I understand you, to be "smart" you need to have control over the development of both systems. In that case, you could be smarter and not perpetrate this kind of thing at all. I thought you were lucky at one point, since the FreeBSD format is different from the BSD/386 format, but then BSDI didn't change their format between 1.1 and 2.0, so we have the rather amusing fact that BSD/OS 2.0 will run the FreeBSD version of elm and not the BSD/386 1.1 version. I don't know how FreeBSD can distinguish between the 1.1 version, which needs the emulator, and the 2.0 version, which doesn't. You can't even rely on the crt0.o to have changed. Greg