Skip to content

Dockerized environment to compile and run arm assembly on x86 machine

Notifications You must be signed in to change notification settings

johnstef99/arm_assembly_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARM assembly dockerized

Using this docker you can compile and run arm 32bit assembly code using a x86 machine. In the examples directory you can find a hello world example that contains a Makefile to help you get started.

Basically this container uses arm-linux-gnueabi to compile & link assembly code and qemu-arm to run the arm executable.

I added some default configs for vim, zsh and tmux. But you can mount your project dir to the container to edit it on your main system and only use the container to compile and run the project.

How to use

# build the container
docker build -t arm_asm .
# get into container and mount the example folder
docker run -it -v $(pwd)/examples:/root/examples arm_asm 

cd examples/hello
make        # compile the code
make run    # run it with qemu

About

Dockerized environment to compile and run arm assembly on x86 machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published