|
1 month ago | |
---|---|---|
.drone.yml | 1 month ago | |
.gitignore | 1 year ago | |
.markdownlint.yml | 2 years ago | |
.prettierignore | 6 months ago | |
Dockerfile | 2 years ago | |
LICENSE | 6 months ago | |
README.md | 2 years ago |
README.md
cc-arm
CentOS 7 cross compiler suite for ARM
Docker image based on CentOS 7 to cross compile applications for ARM devices like Raspberry Pi.
Toolchain: rpi-newer-crosstools Pre-Installed packages:
- epel-release
- wget
- git
- which
- gcc gcc-c++
- make cmake
- automake autoconf
- glibc-devel.i686
- libstdc++.i686
- libgcc.i686
Build arguments
You can build this image also with a custom compiler toolchain by overwriting following build arguments:
CC_ARM_COMPILER_REPO=https://github.com/rvagg/rpi-newer-crosstools
git repository with the compiler
CC_ARM_COMPILER_BASE=/compiler
base directory where $CC_ARM_COMPILER_REPO will be cloned to
CC_ARM_COMPILER_SUB=x64-gcc-4.9.4-binutils-2.28/arm-rpi-linux-gnueabihf/bin
path to the subdirectory where the binaries are placed
Environment variables
The build arguments will be used to add the compiler binaries to PATH variable:
ENV PATH=${CC_ARM_COMPILER_BASE}/${CC_ARM_COMPILER_SUB}:${PATH}
License
This project is licensed under the MIT License - see the LICENSE file for details.