如何在x86平台上运行MIPS二进制文件? [英] How to run a MIPS binary on x86 platform?

查看:652
本文介绍了如何在x86平台上运行MIPS二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Linux x86/x86-x64计算机上运行MIPS二进制文件?我有一些要在x86/x86-64机器上运行的Enigma2机顶盒(也基于Linux)的应用程序.这些插件仅适用于MIPS处理器.

Is there any way to run a MIPS binary on a Linux x86/x86-x64 machine? I got some applications for Enigma2 set-top-boxes (which is also based on Linux) that I want to run on a x86/x86-64 machine. These plugins are only available for MIPS processors.

推荐答案

关键字为模拟器" .最著名的模拟器是 qemu ,它几乎可以模拟任何架构,但是也有很多MIPS您可以在 Linux-MIPS Wiki 中找到的Linux模拟器:

The keyword is "emulator". The most famous emulator is qemu which can pretty much emulate any architectures out there, but there are also lots of MIPS emulators on Linux that you can find in the Linux-MIPS wiki:

  1. 开放式虚拟平台(OVP)OVPsim
  2. GXemul
  3. SimOS
  4. 苏利马
  5. MIPSsim
  6. MipsSim
  7. SPIM
  8. VMIPS
  9. Virtutech Simics
  10. SandUPSim
  11. MPS
  12. YAMS
  13. MAME/MESS
  14. MISSE
  15. Cisco 7200模拟器
  16. QEMU
  17. VirtualMIPS
  18. Miep
  19. 火星
  20. QtMips
  1. Open Virtual Platforms (OVP) OVPsim
  2. GXemul
  3. SimOS
  4. Sulima
  5. MIPSsim
  6. MipsSim
  7. SPIM
  8. VMIPS
  9. Virtutech Simics
  10. SandUPSim
  11. MPS
  12. YAMS
  13. MAME/MESS
  14. MISSE
  15. Cisco 7200 Simulator
  16. QEMU
  17. VirtualMIPS
  18. Miep
  19. MARS
  20. QtMips

请注意,存在全系统仿真(重)和用户模式仿真,它们模拟单个进程.根据您需要的类型,您必须选择一种,但是qemu都支持

Note that there are full-system emulation (which is heavier) and user-mode emulation which emulates a single process. Depending on which type you need you must choose one, but qemu supports both

  • 全系统仿真:在任何受支持的体系结构上为任何计算机运行操作系统
  • 用户模式仿真:在任何受支持的体系结构上为另一个Linux/BSD目标运行程序
  • Full-system emulation: Run operating systems for any machine, on any supported architecture
  • User-mode emulation: Run programs for another Linux/BSD target, on any supported architecture

但是性能会很糟糕,因此您永远都不想运行像机顶盒中的视频解码器那样需要快速运行的应用程序.如果源可用,则只需重新编译

However performance will be terrible so you'll never want to run an app that need to be fast like a video decoder in a set-top-box. If the source is available then just recompile it

请参见在x86_64 Ubuntu下反编译/运行MIPS可执行文件

这篇关于如何在x86平台上运行MIPS二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆