LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-13-2006, 10:30 AM   #1
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Rep: Reputation: 15
osx programs on linux


Does any one know if there is a project similar to wine to get osx program running on linux with out emulation? Or is the problem the power pc chip? I know it is possible to do the osx 86 crack and get osx and hence runn power pc applications on a normal pc but I would like a wine type option.

T
 
Old 07-14-2006, 03:09 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Without emulation, no. There are two problems, one which is more fundamental than the other. Firstly, and fundamentally, OSX is a big-endian system, where as Linux is a little-endian system (see links for definitions), and the two aren't interchangeable. The second problem, which may or may not be a problem, is that older OSX executables will be compiled for the PPC chip, and so won't be understood by the x86 chip. More recent ones compiled "universally" contain both PPC and x86 binaries, so this would solve this problem.

However, the endian problem is the thing that prevents you running OSX executables without emulation.
 
Old 07-14-2006, 05:37 AM   #3
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Original Poster
Rep: Reputation: 15
Thanks for the info. Quite interesting and low level. Oh well back to the drawing board.

T
 
Old 07-14-2006, 06:05 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
A bigger problem is that OS X apps depend on tons of Apple proprietary libraries and engines and stuff that will be very hard to recreate.
 
Old 07-14-2006, 08:08 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Quote:
Originally Posted by cdhgee
However, the endian problem is the thing that prevents you running OSX executables without emulation.
Do you have any technical links to back this up? The PPC, MIPS, and Sparc processors (there are likely others) support setting the endian mode on boot so they can operate either way. The default, and what I believe Apple used on PPC, is big-endian.

However, I am fairly confident that x86 does not support booting in either mode (my oldish Intel x86 manual seams to back that up) so Apple must be using little-endian for there system there. Eitherway, it shouldn't matter to Apple as the compiler can handle making that decision and except for some very very low level code it shouldn't effect the programmer much.

I believe the biggest hurdle is all the libraries Apple has developed that don't run outside of OSX.
 
Old 07-14-2006, 08:11 AM   #6
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
No, but to refer back to TheBrick's original post, he stated that he wanted to run OSX apps on x86 Linux - which I'm fairly sure doesn't support switching between endians (though I could be wrong, I'm not an expert).

And agreed, the biggest problem would be the libraries.

There is of course the possibility of recompiling the particular app to run natively under Linux, depending on how much OSX specific code there is in there - if it all uses open-source GNU stuff then it may be possible.
 
  


Reply

Tags
binary, emulation, endian, executable, os x


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac OSX-Like Linux? Launchpad_72 Linux - Newbie 18 07-17-2007 12:25 AM
Apple OSX vs. Linux DonMiner General 226 05-17-2007 11:51 PM
what linux is most like OSX charlie989 Linux - Newbie 4 07-02-2005 03:33 AM
Linux to look like OSX Dirty_Ink Linux - Software 8 05-06-2004 10:16 PM
New OSX Theme for Linux as you never seen before! moisvon Linux - General 2 10-15-2003 11:34 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration