You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robert Kaussow 7893a19727 [SKIP CI] fix title 4 months ago
docker add ccache 5 months ago
.drone.jsonnet fix typo 5 months ago
.drone.yml fix typo 5 months ago
LICENSE Initial commit 5 months ago
README.md [SKIP CI] fix title 4 months ago

README.md

cc-arm

Build Status

Docke image based on CentOS 7 to cross compile applications for ARM devices like Raspberry Pi.

Toolchain: https://github.com/rvagg/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}