LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2012, 08:20 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Question Could Linux ever be binary compatible with Win32 apps?


Minus the abilities that programs like WINE have achieved offers some level of compatibility with Win32 applications, WINE is limited strictly to userland only operations and doesn't have much in terms of hardware support for apps as well.

However, could native support for Win32 applications ever be achieved, even if hypothetically, at the Kernel level to promote not just binary compatibility with Win32 applications, but be able to run applications and other aspects of systems used by Win32 systems the same exact way as Win32 as an OS?

Just curious.
 
Old 07-04-2012, 08:29 PM   #2
Sylvester Ink
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 112

Rep: Reputation: 35
It's very unlikely, as the low-level system calls for Linux and Windows are incompatible, as are other OS aspects, such as the filesystem structures, the permissions, the way shared objects are loaded, etc. The only way fully-compiled Win32 binaries would work on Linux would be if there were some sort of interpretation layer between the binary and the OS, that translated those aspects that are specific to Windows to map to their Linux counterparts. And that's essentially what WINE is, a translation layer. The only other way is to recompile those binaries to use the correct counterparts, and that would require the cooperation of those who made it in the first place.

So unless Linux is rewritten at a fundamental level, it would not be able to support these binaries natively.
 
Old 07-05-2012, 11:12 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by ReaperX7 View Post
However, could native support for Win32 applications ever be achieved, even if hypothetically, at the Kernel level to promote not just binary compatibility with Win32 applications, but be able to run applications and other aspects of systems used by Win32 systems the same exact way as Win32 as an OS?
Theoretically it could, but it won't be (go on, prove me wrong!). Additionally, the system that resulted probably wouldn't be called Linux, anyway (Linux is a registered trade mark of one Linus Torvalds, and if you fscked up his fine work in that way and he probably wouldn't be all that enthusiastic about you sullying the good name....but that's just a guess of his reaction which might be slightly unpredictable, but can be predicted to be forthright.)
 
Old 07-05-2012, 12:45 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Reactos is the group working on a replacement for windows NT maybe xp by now.

Linux was more of a way to run unix on an x86. Not a way to bypass windows os.


The work on advanced x86 systems having vm support sort of makes the entire deal useless to corporate users. They don't mind paying for a MS license. That is a trivial part of any operation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make compatible communication between linux and win32 naveenisback Programming 1 07-31-2009 08:55 AM
Assembler Compatible Not Binary Compatible, Linux btbx Programming 1 09-22-2007 06:17 PM
Running win32 apps in linux? blackspade Linux - Newbie 2 06-07-2006 01:33 PM
Building multi-kernel compatible (Linux RHAS) apps ? cbrockwell Linux - Newbie 0 02-25-2005 11:52 AM
WINE on SuSE 64bit: couln't load... Win32 binary addison014 Linux - Software 0 02-16-2005 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration