[lkml]   [1998]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Are applications for Linux platform specific?

    Derrik wrote:
    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).

    Well, thank you all for the replies :) That's what I wanted to know.


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

     \ /
      Last update: 2005-03-22 13:42    [W:0.050 / U:39.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site