Sign inSign up

phlummox/aarch64-cross-compiler

By phlummox

•Updated about 7 years ago

Build of a cross-compiler toolchain from x86_64 to aarch64, using Crosstool-NG

Image
0

2.9K

phlummox/aarch64-cross-compiler repository overview

GitHub repository for Dockerfile and other code: https://github.com/phlummox/aarch64-cross-compiler⁠

See the README on GitHub⁠.

The Dockerfile is here⁠. All tags except for "latest" and version numbers are for "builder layers", and can be ignored.

usage:

$ echo 'int main(){return 42;}' > c_test.c
$ docker run --rm -v $PWD:/work -w /work phlummox/aarch64-cross-compiler:latest gcc -static -o c_test c_test.c
$ sudo apt-get install qemu-user
$ qemu-aarch64 ./c_test
$ echo $?
42

Tag summary

Content type

Image

Digest

Size

224.8 MB

Last updated

about 7 years ago

docker pull phlummox/aarch64-cross-compiler