comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: Multi-arch
Date: Sun, 21 May 2006 16:03:04 GMT
Date: 2006-05-21T16:03:04+00:00	[thread overview]
Message-ID: <pan.2006.05.21.16.07.28.491033@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: wC5bg.659$E02.248@newsb.telia.net

On Thu, 18 May 2006 21:24:44 +0000, Bj�rn Persson wrote:

> I understand how multi-arch is useful if you want to use proprietary 
> binaries that are available only for certain architectures. Otherwise I 
> don't see a reason to do it. I'd think free code would just be compiled 
> for the "native" architecture. Is multi-arch useful in an altogether 
> free system in some way that eludes me?

Several reasons.

I suggest that people who run a mixture of machines may want
to share binaries across the network, but build them on their
newest machines.

People also want to avoid recompiling working code with another
architecture, even if they have source code.  You can't be sure
it'll work exactly right without testing, which may be expensive.
I found a couple of latent errors when builing for 64-bit.
One was calling a C varargs function incorrectly from Ada.
Another was caused by undocumented members of a C struct
overwriting the Ada stack.  Changing architectures is a risk.

If you have written some code in assembly language, this will
constrain the architecture until alternative code is available.

Finally, some people store records directly in data files
for various reasons.  Changing architecture would need
recreatoin of those files.

It only takes one old architecture library to be a show-stopper,
whether that is a third-party or handwritten codec, a buggy
library or whatever. 

multi-arch eases the transition to a new architecture.
--
Adrian




  parent reply	other threads:[~2006-05-21 16:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17  9:22 Multi-arch Ludovic Brenta
2006-05-17  9:45 ` Multi-arch Georg Bauhaus
2006-05-17 20:31 ` Multi-arch gshapovalov
2006-05-18 11:39   ` Multi-arch Ludovic Brenta
2006-05-18 16:34     ` Multi-arch gshapovalov
2006-05-18 21:24 ` Multi-arch Björn Persson
2006-05-19  7:23   ` Multi-arch Ludovic Brenta
2006-05-19 21:16     ` Multi-arch Björn Persson
2006-05-20 11:18       ` Multi-arch Ludovic Brenta
2006-05-20 17:51         ` Multi-arch Björn Persson
2006-05-21 16:03   ` Dr. Adrian Wrigley [this message]
2006-05-21 13:05 ` Multi-arch Dr. Adrian Wrigley
2006-05-21 13:41   ` Multi-arch Ludovic Brenta
2006-05-21 16:07     ` Multi-arch Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox