From owner-freebsd-current@FreeBSD.ORG Mon Jan 7 23:31:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58FA916A417 for ; Mon, 7 Jan 2008 23:31:02 +0000 (UTC) (envelope-from andrew-freebsd@areilly.bpc-users.org) Received: from omta04ps.mx.bigpond.com (omta04ps.mx.bigpond.com [144.140.83.156]) by mx1.freebsd.org (Postfix) with ESMTP id BC5D413C458 for ; Mon, 7 Jan 2008 23:31:01 +0000 (UTC) (envelope-from andrew-freebsd@areilly.bpc-users.org) Received: from oaamta08ps.mx.bigpond.com ([124.188.162.219]) by omta04ps.mx.bigpond.com with ESMTP id <20080107233100.KTFO18971.omta04ps.mx.bigpond.com@oaamta08ps.mx.bigpond.com> for ; Mon, 7 Jan 2008 23:31:00 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by oaamta08ps.mx.bigpond.com with ESMTP id <20080107233059.KNHY19013.oaamta08ps.mx.bigpond.com@areilly.bpa.nu> for ; Mon, 7 Jan 2008 23:30:59 +0000 Received: (qmail 4073 invoked from network); 7 Jan 2008 23:30:17 -0000 Received: from localhost (HELO duncan.reilly.home) (127.0.0.1) by localhost with SMTP; 7 Jan 2008 23:30:17 -0000 Date: Tue, 8 Jan 2008 10:30:17 +1100 From: Andrew Reilly To: Dag-Erling =?UTF-8?B?U23DuHJncmF2?= Message-ID: <20080108103017.2a6d299d@duncan.reilly.home> In-Reply-To: <86ejcu7yzq.fsf@ds4.des.no> References: <477C82F0.5060809@freebsd.org> <863ateemw2.fsf@ds4.des.no> <200801032200.25650.peter.schuller@infidyne.com> <8663yac62d.fsf@ds4.des.no> <477E72FC.5070304@freebsd.org> <477EA466.6060204@FreeBSD.org> <477EFEAB.8090807@freebsd.org> <20080107074209.5c20f083@duncan.reilly.home> <86ejcu7yzq.fsf@ds4.des.no> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?rg@des.no, Dag-Erling@des.no, =?UTF-8?B?U23DuEBmcmVlYnNkLm9AZGVzLm5vLA==?=, Jason Evans , ?= Tim Kientzle , freebsd-current@freebsd.org, Peter, Schuller Subject: Re: ELF dynamic loader name X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 23:31:02 -0000 On Mon, 07 Jan 2008 10:42:49 +0100 Dag-Erling Sm=C3=B8rgrav wrote: > Andrew Reilly writes: > > Danny Braniss writes: > > > what Apple has is one file, that will run the appropiate binary if > > > run on an i386 or a ppc, not 2 different files - universal binary - > > > not rosetta. > > Sure, but that's got a bunch of different driving factors. I > > don't know, for example, whether you can build a four-way > > executable (ia32, x86_64, ppc, ppc64). Well, you probably can, > > but I'd be a bit surprised if anyone has. FreeBSD supports even > > more architectures: it just doesn't scale. >=20 > Two-way i386 + amd64 executables would be very useful, since they can > run on the same hardware with just a change of kernel. How is that useful? I386 executables can run on the same hardware with the same changes of kernel. If you're not planning to change kernel, then you can use amd64-only. I thought that the whole fat-binary issue revolved around binary distribution (also by networked file systems) to *different* architectures. Well, that's what Apple and NeXT seem to have used them for. Apollo, Sun, MIPS/SGI, HP(?) always seemed to manage with PATH configurations and/or variant symlinks. I can't see why that would be any harder for FreeBSD? Cheers, --=20 Andrew