如何在MIPS平台上运行i386二进制文件? [英] How to run i386 binary on MIPS platform?
问题描述
我有一个i386二进制文件,希望在带有嵌入式Linux的STB上运行.
I have an i386 binary that I would like to run on my STB with embedded linux.
如何在MIPS拱形平台(机顶盒)上运行i386二进制文件(在Ubuntu上编译/编译器:i486-linux-gnu-libusb)?
How to run the i386 binary (compiled on Ubuntu / compiler : i486-linux-gnu-libusb) on MIPS arch platform (set-top box)?
推荐答案
You need an emulator. The most well-known emulators are qemu and bochs which are both open-source
但是,仿真本质上是缓慢的,因此仅用于对性能要求不高的应用程序,没有可用的源代码.机顶盒中的解码器之类的实时软件绝对不适合在仿真下执行.您需要将软件重建为MIPS目标
However emulation is slow by nature, so it's only used for non-performance-critical applications that no source code is available. Real-time software like decoders in a set-top-box definitely isn't suitable to execute under emulation. You need to rebuild the software to MIPS target
另请参见
这篇关于如何在MIPS平台上运行i386二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!