Install qemu-arm for Ubuntu
2017-04-05 16:58
411 查看
1. 安装:
$ sudo apt-get install gcc-arm-linux-gnueabi
$ sudo apt-get install qemu-user qemu-system qemu-utils
2. C代码(hello.c)
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("hello\n");
return 0;
}
3. 编译:
$ arm-linux-gnueabi-gcc hello.c -o hello -static
4. 运行:
$ qemu-arm ./hello
hello
Reference:
http://blog.csdn.net/hmsiwtv/article/details/19763709
http://blog.csdn.net/flyingcloude/article/details/9417791
$ sudo apt-get install gcc-arm-linux-gnueabi
$ sudo apt-get install qemu-user qemu-system qemu-utils
2. C代码(hello.c)
#include <stdio.h>
int main(int argc, char* argv[])
{
printf("hello\n");
return 0;
}
3. 编译:
$ arm-linux-gnueabi-gcc hello.c -o hello -static
4. 运行:
$ qemu-arm ./hello
hello
Reference:
http://blog.csdn.net/hmsiwtv/article/details/19763709
http://blog.csdn.net/flyingcloude/article/details/9417791
相关文章推荐
- Qemu-ARM-Ubuntu 实验
- install informix IDS9.4 for Ubuntu Server 8.04
- Debian install matlab2010—also ok for ubuntu series!
- install sphinx for php on ubuntu
- How install mysql in Ubuntu for Rails 3
- install lsa package for R on ubuntu 10.04 lts lucid
- install emacs plug-in for javascipt in ubuntu
- ubuntu install problem the configuration defaults for gnome power manager have not been installed correctly,please contact your
- install lsa package for R on ubuntu 10.04 lts lucid
- Install & Set up Compiz Fusion for UBUNTU 7.10~
- Qemu-ARM-Ubuntu 实验一 环境设定
- How to install oracle 10g for Linux in ubuntu
- Debian install matlab2010—also ok for ubuntu series!
- How to install RabbitVCS for Ubuntu
- install the Zend Debugger V5.2 for ubuntu9.0.4 Desktop
- How to install WebObjects in Ubuntu for free(II)
- ubuntu下使用qemu-arm-static进入chroot编译环境
- install gcc for ubuntu linux
- How To Install Flash Player In Ubuntu 10.04 Lucid Lynx,install firefox flash plugin addon for ubuntu
- Wine's instruction,install and configure【For Ubuntu Feisty (7.04)】【WorldofWarcraft's installation】