Sign inSign up

ahuszagh/cross

By ahuszagh

Updated about 5 years ago

Images pre-installed with cross-compiling toolchains.

Image
0

10K+

ahuszagh/cross repository overview

Toolchains

Toolchains and package managers for cross-compiling. See detailed documentation here. Each image comes pre-installed with:

  • C and C++ cross compiler and standard library
  • Autotools
  • Binutils
  • CMake
  • Ninja

Example

This runs through the logic of building and running an example repository on PowerPC64, a big-endian system:

pip install xcross
git clone https://github.com/fastfloat/fast_float --depth 1
cd fast_float
mkdir build && cd build
export CROSS_TARGET=ppc64-unknown-linux-gnu
xcross cmake -DFASTFLOAT_TEST=ON -DCMAKE_TOOLCHAIN_FILE=/toolchains/ppc64.cmake ..
xcross make -j 2
xcross run tests/basictest

Tag summary

Content type

Image

Digest

Size

339.9 MB

Last updated

about 5 years ago

docker pull ahuszagh/cross:wasm32-unknown-emscripten-0.1.0