Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2008 07:42:09 +1100
From:      Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-current@freebsd.org, Dag-Erling=?ISO-8859-1?Q?Sm=F8@freebsd.o?=, =?ISO-8859-1?Q?rg, Jason Evans <jasone@freebsd.org>, ?= Tim Kientzle <kientzle@freebsd.org>, rgrav <des@des.no>, Peter Schuller <peter.schuller@infidyne.com>
Subject:   Re: ELF dynamic loader name [was: sbrk(2) broken]
Message-ID:  <20080107074209.5c20f083@duncan.reilly.home>
In-Reply-To: <E1JBQMz-000CNu-6o@cs1.cs.huji.ac.il>
References:  <477C82F0.5060809@freebsd.org> <863ateemw2.fsf@ds4.des.no> <200801032200.25650.peter.schuller@infidyne.com> <alpine.BSF.1.00.0801031305340.39341@goat.gigo.com> <8663yac62d.fsf@ds4.des.no> <477E72FC.5070304@freebsd.org> <477EA466.6060204@FreeBSD.org> <e7db6d980801041342k562a3459y39003036dc1a5528@mail.gmail.com> <477EFEAB.8090807@freebsd.org> <E1JB3W9-000N7w-Ia@cs1.cs.huji.ac.il> <e7db6d980801051424p51bcf802v799626b00f0ba5@mail.gmail.com> <E1JBQMz-000CNu-6o@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 06 Jan 2008 09:56:32 +0200
Danny Braniss <danny@cs.huji.ac.il> wrote:

> 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.  The best bet for
something that has to run everywhere is probably LLVM or TNEF.

The advantage that Unix has over MacOS is that we aren't trying
to squeeze everything into single "application" directories.  So
it's reasonable to have "share", and select executables on the
basis of PATH.  That's how it has worked before.  Most sites
don't have more than two or three different architectures to
support, anyway.

If we do get much further with multi-architecture bin and lib,
and people actively use these on diskless setups or
multi-architecture hosts (amd64/ia32, or other 64/32 bit
combinations being the most common) then perhaps it would be nice
to have a share/bin where platform-independent scripts (shell,
perl, python) as well as dynamic-translated binaries (JVM, LLVM,
etc) can live?

Cheers,

-- 
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080107074209.5c20f083>