Sign inSign up

aimandebug/arm-linux-gnueabihf-gcc

By aimandebug

•Updated 4 months ago

32-bit ARM GNU GCC cross-compiler container image

Image
Developer tools
0

47

aimandebug/arm-linux-gnueabihf-gcc repository overview

⁠32-bit ARM GNU GCC cross-compiler

This a containerized arm-linux-gnueabihf-gcc cross-compiler for building C programs for 32-bit ARM architecture.

⁠Usage

cat << EOF > hello.c
#include <stdio.h>
int main() {
    printf("Hello, World!\n");
    return 0;
}
EOF
docker run --rm \
-v $(pwd):/home/builder \
-it \
aimandebug/arm-linux-gnueabihf-gcc:latest \
hello.c -o hello.out

⁠Notes

If you are using qemu-user to run the standalone compiled binary you might want to add the -static flag to avoid dynamic linking issues.

Tag summary

Content type

Image

Digest

sha256:63edcf3fc…

Size

129.3 MB

Last updated

4 months ago

docker pull aimandebug/arm-linux-gnueabihf-gcc:1.0