running mac application on intel processors

Programming, for all ages and all languages.
Post Reply
shaz

running mac application on intel processors

Post by shaz »

i want to run just "hello world" dialog box application of MAC OS on linux running on intel machine.

for this i've to convert op-codes of powerpc to those of intel.
i also need to covert the system call to display dialog box to that compatible with linux.

please tell what else i need to convert.also tell me for any link
or code related to this project.
Tim

Re:running mac application on intel processors

Post by Tim »

You need either a PowerPC emulator with a copy of MacOS installed, or the source code which you can recompile.
shaz

Re:running mac application on intel processors

Post by shaz »

no i don't think that i need both things.i just need to build something like WINe and small emulator for powerpc op-codes
used by that hello world application
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:running mac application on intel processors

Post by bubach »

u need to convert from "little endian" to "big endian"..
look it up on google.

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Tim

Re:running mac application on intel processors

Post by Tim »

No, really. The PowerPC and x86 instruction sets are completely different. Translating a PowerPC program to x86 would be like translating an enormous book from
Martian to English. Even if you did that, the program would refer to a load of MacOS APIs, instead of Linux ones. In other words, the story would be about this stuff that happens to a Martian guy, and it wouldn't make sense to people on Earth, even if they could read English.
Post Reply