Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
/ cross-compiler Public archive
forked from scakemyer/cross-compiler

Dockerfiles for cross compiling environments

Notifications You must be signed in to change notification settings

coreos/cross-compiler

 
 

Repository files navigation

cross-compilers Build Status

C/C++ Cross compiling environment containers

This has been designed to run libtorrent-go cross compilation and is not meant to be perfect nor minimal. Adapt as required.

Overview

Environment variables

  • CROSS_TRIPLE
  • CROSS_ROOT
  • LD_LIBRARY_PATH
  • PKG_CONFIG_PATH

Also adds CROSS_ROOT/bin in your PATH.

Installed packages

Based on Debian Jessie:

  • bash
  • curl
  • wget
  • pkg-config
  • build-essential
  • make
  • automake
  • autogen
  • libtool
  • libpcre3-dev
  • bison
  • yodl
  • tar
  • xz-utils
  • bzip2
  • gzip
  • file
  • rsync
  • sed
  • upx

And a selection of platform specific packages (see below).

Platforms built

  • android-arm (android-ndk with android-19, toolchain 4.9)
  • android-x64 (android-ndk with android-21, toolchain 4.9)
  • android-x86 (android-ndk with android-21, toolchain 4.9)
  • darwin-x64 (clang-3.7, llvm-3.7-dev, libtool, libxml2-dev, uuid-dev, libssl-dev patch make cpio)
  • linux-arm (gcc-4.7-arm-linux-gnueabihf with hardfp support for RaspberryPi)
  • linux-armv7 (gcc-4.9-arm-linux-gnueabihf)
  • linux-arm64 (aarch64-linux-gnu)
  • linux-x64
  • linux-x86 (gcc-multilib, g++-multilib)
  • windows-x64 (mingw-w64)
  • windows-x86 (mingw-w64)

Building

Either build all images with:

make

Or selectively build platforms:

make darwin-x64

About

Dockerfiles for cross compiling environments

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 80.6%
  • Makefile 19.4%