Re: Are applications for Linux platform specific?

Derrik (
Tue, 19 May 1998 07:17:03 -0700 (PDT)

On Tue, 19 May 1998, David Woodhouse wrote:

> said:
> > No, they won't. When they're built, the compiler you use is specific to a
> > particular OS/processor combination, and so are the binaries generated.
> Unless you're using an Alpha, in which case it'll run Intel binaries if you ask
> it nicely and if they're old ones that are linked with libc5 (otherwise it
> tries to load the Alpha libc6, which confuses the hell out of the emulator :)
> Also, you can often run binaries from different operating systems, especially
> other Unix-like ones. Linux/x86 can run SCO, Solaris/x86, BSD binaries AFAIK.
> Linux/SPARC can run SunOS or Solaris binaries, and Linux/Alpha does DEC Unix.
> As I understand it, Unix98 compliant programs linked against glibc should run
> transparently on any operating system that glibc is present on, as long as the
> processor remains the same. So you should, for example, be able to use
> Linux/SPARC binaries on Solaris as long as you have glibc for Solaris
> installed.

Ok. Point taken. :) But as a general rule, you build a binary, it's only
going to run on the platform it was compiled to (and certain platforms
that can emulate it or are capable of handling its binaries).

Derrik Pates

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to