Install qemu-arm for Ubuntu
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
相關文章
- ubuntu install fontsUbuntu
- Install Chisel Tools on UbuntuUbuntu
- ubuntu for DP tools installUbuntu
- Ubuntu 18.04 install albertUbuntu
- Node JS Install - Ubuntu systemJSUbuntu
- MariaDB ubuntu install guideUbuntuGUIIDE
- Install erlang to Ubuntu 18.04 LTSUbuntu
- Install Rabbitmq to Ubuntu 18.04 LTSMQUbuntu
- Install Composer on Ubuntu 14.04Ubuntu
- Ubuntu install Atom via PPAUbuntu
- How to Install LibreOffice on UbuntuUbuntu
- mariadb install on Ubuntu 16.04.1 LUbuntu
- Install Docker CE for Ubuntu 18.04 LTSDockerUbuntu
- Install Papirus Icon Theme on UbuntuAPIUbuntu
- How to install sougoupinyin on Debian/Ubuntu.GoUbuntu
- How To Install Vagrant IN Ubuntu14.04Ubuntu
- Torch - 1 -- Install and Get Start on Ubuntu 12Ubuntu
- ubuntu 14.04 install docker latest dockerUbuntuDocker
- install redis and used in golang on ubuntu 14.04RedisGolangUbuntu
- Install Redis to Ubuntu18.04 LTSRedisUbuntu
- TensorFlow - 1 - Install and get start on Ubuntu 12Ubuntu
- mariadb install on Ubuntu 16.04.1 LTS 薦Ubuntu
- Install VSFTPD server in Ubuntu 16.04 LTSFTPServerUbuntu
- linux(ubuntu) install xen-3.4.2薦LinuxUbuntu
- Install linux mint apt to Ubuntu 18.04 LTSLinuxAPTUbuntu
- How to Install and Configure VNC on Ubuntu 18.04VNCUbuntu
- Ubuntu After Install – 幫你在Ubuntu上自動安裝流行的軟體Ubuntu
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- install php 7 to run beside php 5 on ubuntu with nginxPHPIDEUbuntuNginx
- How to install (D)DoS Deflate on Debian 7 (Wheezy) / UbuntuUbuntu
- Ubuntu16.04 install CUDA8.0, CuDNN5.05,PycudaUbuntuDNN
- ubuntu14.04 and ros indigo install kinect driver--16UbuntuROSGo
- 基於arm的C++反彙編 qemu-arm環境搭建C++
- 求助 :ubuntu 編譯核心後(make -jn),sudo make modules_install報錯Ubuntu編譯
- Ubuntu 16.04 安裝 Wireshark分析tcpdump的pcap包——sudo apt install wireshark-qtUbuntuTCPPCAAPTQT
- semantic-ui@2.4.2 install: `gulp install`UI
- ubuntu apt-get install xxx報錯無法下載的解決方法Ubuntuapt-get
- go install: no install location for directory outside GOPATHGoIDE