answersLogoWhite

0


Best Answer

At least two major reasons, 3 when you consider Linux runs on far more architectures than Windows:

1. Windows and Linux use completely different binary formats: Windows uses a poor excuse of a COFF-format ripoff called PE (Portable Executable, a name that has no meaning whatsoever because NO PE binaries are portable, and not all of them are executable.), Linux uses the almost universally standard format used by everyone and their dog except WINDOWS called ELF (Executable and Linkable Format, a name that actually is accurate to what the format actually is, executable or linkable. Note that even your PS3s and Wiis use ELF.)

2. They're two completely different operating systems! You can't expect them to have matching APIs or ABIs at all, and those are two things any kind of binary has to rely on to work. Thus, even if you get a binary in ELF format, just because it works in Linux A, doesn't necessarily mean it'll work on Linux B, especially if Linux B is on a different architecture or uses a different library set.

3. (Applies only in some cases.) You're trying to run a 32-bit Windows PE-executable on a 64-bit SPARC port of a Linux distribution, where the binary itself is not even going to be anything the system understands without emulation.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why are Windows and Linux executables different?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you know that the Wii cant get a virus what if you go on a website that has a virus?

that don't use windows or Linux or mack executables that don't use windows or Linux or mack executables


What is the purpose of PATH variable in Linux?

It's an environment variable that stores the paths of commonly used executables. All OSes have this set, even on Windows.


What are the differences between Windows nd and windows Linux?

There is no such thing as "Windows Linux." Linux is not a version of Windows and has nothing at all to do with Windows. They are two totally completely different operating systems made by completely different people.


Google Windows Linux and Mac?

Google is different from The Others


Is the Unreal Development Kit available for Linux?

As of Dec 30, 2010, No.From there FAQ:"Q: What operating systems are compatible with UDK?A: The development environment for UDK runs on Windows PC. It's currently possible to create executables for Windows PC and iOS."


In what sequence should Linux and Windows XP be downloaded?

I suggest installing Windows, and then Linux (preferably on different physical hard drives). When Windows is installed it tends to overwrite the boot partition, making it difficult to boot linux afterwards.


What are the functions of a Linux?

Some functions of Linux include serving as an operating system for computers, servers, and embedded systems; providing a platform for software development and programming; and offering a stable and secure environment for various applications and services.


How Linux differ from other operating systems?

Linux is more like a language in which you structure sentences to assemble small functions to accomplish a task whereas a Windows environment accomplishes tasks by running independent programs ("executables") which may not communicate with each other except through stored data............................................................................................................................................................................Linux is the best-known and most-used open source operating system. There are different 'distributions' of Linux each comes with a set of programs, tools, and services that are typically bundled together with the Linux kernel to provide all of the necessary components of a fully functional operating system. Very similar to Windows OS.But Linux also is different from Windows in many important ways. First, and perhaps most importantly, Linux is open source software. The code used to create Linux is free and available to the public to view, edit, and-for users with the appropriate skills-to contribute to.Linux is also different in that, although the core pieces of the Linux operating system are generally common, the many distributions of Linux include different software options. This means that Linux is incredibly customizable, because not just applications, such as word processors and Web Browsers, can be swapped around.


Can your computer run properly without windows?

instead of windows you can have linux or mac. they are different, but you will know whats best for you when you try them, linux is free to download.but you need an operating system (windows, mac, linux or any other OS) for the computer to work


Is it Windows XP and Windows 7 are examples of operating systems?

Yes. Windows 7 is a system distribution in the Windows family built around Microsoft's proprietary NT operating system. Ubuntu is also one of many Linux distributions built around the open source Linux operating system.


What kind of multiprocessing do Windows and Linux do?

Preemptive (both Windows and Linux).


What is the operating system called?

There is no "the" operating system. There are LOTS of different ones available. Windows XP, Windows Vista Linux Mac OSX and much more... There is no "the" operating system. There are LOTS of different ones available. Windows XP, Windows Vista Linux Mac OSX and much more...