Re: ELF dynamic loader name [was: sbrk(2) broken]

From: Andrew Reilly <andrew-freebsd_at_areilly.bpc-users.org>
Date: Mon, 7 Jan 2008 07:42:09 +1100
On Sun, 06 Jan 2008 09:56:32 +0200
Danny Braniss <danny_at_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
Received on Sun Jan 06 2008 - 20:51:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC