Would this be possible?
Sitting around doing nothing on a Sunday morning, I had an odd thought.
Given the number of emulators available, that are taking binaries intended for one machine, and converting them on the fly to run on a different platform, would it not be possible to use the same code to make a permanent conversion of an executable that will run natively?
I know there may be problems with other resources (eg - you couldn't convert an MUI app to run on x86 unless all the MUI libraries etc were converted too), but is there some other barrier that I'm completely missing.
Bear in mind, I'm not talking about porting here, I'm talking about making what an emulator does on the fly permanent.