无需虚拟机,qemu直接模拟运行程序

内核编译和嵌入式产品的设计与开发
回复
suxiaojack
帖子: 5
注册时间: 2012-12-13 20:03
系统: ubuntu 12.04

无需虚拟机,qemu直接模拟运行程序

#1

帖子 suxiaojack » 2013-01-24 16:36

:em05
安装上qemu-user-static即可!
man qemu-user-static

代码: 全选

NAME
       qemu-user-static - QEMU User Emulator (static version)

SYNOPSIS
       qemu-user-static [options] program [program-arguments...]

DESCRIPTION
       The  qemu-user-static emulator can run binaries for other architectures
       but with the same operating system as the current one.
这样不用安装arm等虚拟机环境,自身系统即可支持不同指令集,好像CPU变成了arm指令集一样。

参见:http://blog.csdn.net/suxiaojack/article/details/8538396
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: 无需虚拟机,qemu直接模拟运行程序

#2

帖子 cuihao » 2013-01-24 17:40

:em01
but with the same operating system as the current one
没lib,估计好多程序还是运行不起来。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
回复