使用Sparc架构将应用程序导出到Intel x86 [英] Export an application using Sparc architecture to intel x86
问题描述
我正在使用在Sun Solaris 8中开发的应用程序,它取决于SPARC体系结构(该应用程序使用了Solaris 8系统的某些版本).
I'm using an application developed in Sun Solaris 8 and it depends of the architecture SPARC ( the application using some librairies of the system Solaris 8) .
是否可以将该应用程序从SPARC导出到Intel x86?我可以在其他操作系统(如Ubuntu,Windows或其他操作系统)中导出吗?
Is it possible to export that application from SPARC to intel x86 ? Can i export also in another OS like Ubuntu, Windows or other ?
我希望这很清楚,如果您需要更多信息,我会尽力澄清. 谢谢.
I hope that was clear and if you need more information i'll try to clarify. Thanks.
推荐答案
我假设我们在这里谈论的是本机应用程序(机器代码二进制文件).
I'm assuming we're talking about a native application here (a machine code binary).
简短的回答:两个问题都没有.
Short answer: No to both questions.
长答案:
是否可以将该应用程序从SPARC导出到Intel x86?
Is it possible to export that application from SPARC to Intel x86?
是的,但这意味着:
- 完全反向工程
- 用适当的高级语言(例如C)进行重写
- 为Intel x86编译
我还可以在Ubuntu,Windows或其他操作系统中导出吗?
Can i export also in another OS like Ubuntu, Windows or other?
我假设您是在谈论在SPARC体系结构上运行的另一个操作系统.如果不是,请参考先前的答案.如果是,那么可以,但是您必须:
I assume you're talking about another OS running on SPARC architecture. If not, refer to previous answer. If yes, then you can, but you would have to:
- 将所有系统调用从Solaris转换到新的OS(根据OS体系结构的不同,其范围从相对容易到非常复杂).
- 可能会修改ELF32部分以符合新的操作系统.
此外,对于非UNIX目标操作系统(例如Windows):
Additionally, for a non-UNIX target OS (e.g. Windows):
- 使用新的OS可执行文件格式(例如NE,PE,LE ...)重建可执行文件
这是我的第一个念头突然出现.
This is what pops on my head on a first thought.
这篇关于使用Sparc架构将应用程序导出到Intel x86的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!