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 c93fae857b
update readme
1 week ago
.drone.yml migrate to thegeeklab namespace 1 week ago
Dockerfile refactoring 7 months ago
LICENSE refactoring 7 months ago
README.md update readme 1 week ago

README.md

cc-arm

CentOS 7 cross compiler suite for ARM

Build Status Docker Hub Quay.io Source: Gitea License: MIT

Docker 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}

License

This project is licensed under the MIT License - see the LICENSE file for details.