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
相關文章
- MariaDB ubuntu install guideUbuntuGUIIDE
- Ubuntu 18.04 install albertUbuntu
- How to Install LibreOffice on UbuntuUbuntu
- Install erlang to Ubuntu 18.04 LTSUbuntu
- Install Rabbitmq to Ubuntu 18.04 LTSMQUbuntu
- Node JS Install - Ubuntu systemJSUbuntu
- Install Papirus Icon Theme on UbuntuAPIUbuntu
- mariadb install on Ubuntu 16.04.1 LUbuntu
- Install Docker CE for Ubuntu 18.04 LTSDockerUbuntu
- Install Redis to Ubuntu18.04 LTSRedisUbuntu
- How to Install and Configure VNC on Ubuntu 18.04VNCUbuntu
- Install linux mint apt to Ubuntu 18.04 LTSLinuxAPTUbuntu
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- 求助 :ubuntu 編譯核心後(make -jn),sudo make modules_install報錯Ubuntu編譯
- ubuntu apt-get install xxx報錯無法下載的解決方法Ubuntuapt-get
- go install: no install location for directory outside GOPATHGoIDE
- semantic-ui@2.4.2 install: `gulp install`UI
- pip install 提示:Could not install packages due to an EnvironmentErrorPackageError
- 解決 If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configUbuntuGTK2dev
- install qdrant
- Install clickhouse
- habitat install
- Python:conda install 和pip install的區別Python
- before install octave package you must be install gcc-fortranPackageGC
- mvn install 命令
- KubeSphere 3.3.2 install
- kubernetes 1.25.9 install
- openwrt install lsblk
- pip install METIS
- postgreSQL install pgvectorSQL
- etcd install & configuration
- Deepin Qt InstallQT
- 《CMake實踐》筆記二:INSTALL/CMAKE_INSTALL_PREFIX筆記
- npm install -g 和npm install --save-dev的關係NPMdev
- flutter install安裝app時,出現INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCH錯誤的原因FlutterAPPAI
- npm install 失敗NPM
- npm install 報錯NPM
- centos yum install nginxCentOSNginx
- Install python on AIX 7PythonAI