apt install -y qemu qemu-user gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi
arm-linux-gnueabi-gcc -marm main.c -o main
QEMU_LD_PREFIX=/usr/arm-linux-gnueabi qemu-arm main
Last active
September 28, 2022 01:45
-
-
Save jtpaasch/7b6f61e678bf475cc37b1de0bdd119ae to your computer and use it in GitHub Desktop.
Compiling and running C programs for ARM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment