Complete.Org: Mailing Lists: Archives: linux-help: June 2000:
[linux-help] Re: interchanging executables
Home

[linux-help] Re: interchanging executables

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "'linux-help@xxxxxxxxx'" <linux-help@xxxxxxxxx>
Subject: [linux-help] Re: interchanging executables
From: "Bates, Rod" <Rod.Bates@xxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jun 2000 08:16:55 -0500
Reply-to: linux-help@xxxxxxxxx

Even if the processor is the same, there are at least
three other kinds of compatibility problems which
can prevent sharing of executables between significantly
different operating systems like Linux and Windoze.  

The system call interface is different.  That is, the list
of procedures, their parameters, and their functions.
In Linux and most unix flavors part of this interface
is called Posix.  In Windoze, it is called Win23.  They
are very different. 

At a lower level, even if you were making an identical
system call, the mechanism for passing parameters may
be different.  I don't know specifically if this is true for
x86 Linux and Win32, but I'd bet on it. 

Third, the executable file format is different.  Linux (these
days, usually) uses one called Elf, whereas Windoze uses
one called PE.  They're completely different.  The object
file format is also a part of the executable format too, 
so .o files won't be intechangable either.   

The executable format also affects the ability to connect
to dynamic libraries.  Both executable formats have more
or less functionally equivalent mechanisms for dynamic
linking, but incompatible implementations.  

 


-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]