Amiga.org
Operating System Specific Discussions => Linux PPC discussion => Topic started by: asian1 on September 14, 2003, 06:04:18 PM
-
Hello
The vendor/author of several closed source
Linux X86 applications had refused to port
their software/applications to PowerPC.
If someone use dis-assembler tools, and
obtain X86 assembler code version of the
application, is it possible to convert
the X86 assembler code to PowerPC assembler
automatically?
-
The LinuxPPC and Linux x86 use different ABI's (since they have very different Register counts, by a factor of 4!) so no.
-EDIT-
a x86 JIT might work... but you would still have the Endieness problem (unless LinuxPPC is Little endien).
-
(unless LinuxPPC is Little endien).
It is not.
-
Endian issues dont hurt PPC that much (at the assebmler level) since there are byteswapping load/store instructions available.
-
is it possible to convert the X86 assembler code to PowerPC assembler automatically?
I have seen somewhere on the homepage of a company a product that should be able to do this (at least, it tries to do this) but it was for the price of some thousands of dollars (there was also cenversion from/to alpha, x86, ppc, 680x0).
Ciao, Alfred