filleduchaos / musl_nix_arm

Docker image for cross-compiling portable ARM applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

musl_nix_arm

Docker image for building portable C and C++ applications for ARM Linux systems using musl libc, with the build process managed by nixcrpkgs (credit to David Grayson).

The image comes with toolchains for armv6, armv7 (both hard-float) and aarch64 pre-built.

Usage

There's a demonstrative C application in the example folder.

Also it would be a great idea to check out nixcrpkgs' README.

(proper documentation coming soon :) )

Developing

make will build and tag an image

make run will launch an interactive Bash shell

Make sure to set the DOCKER_USER environment variable for proper namespacing!

About

Docker image for cross-compiling portable ARM applications

License:MIT License


Languages

Language:Nix 42.5%Language:Shell 26.1%Language:Ruby 13.4%Language:C 13.3%Language:CMake 4.1%Language:Makefile 0.5%Language:C++ 0.2%