Sign inSign up

ahuszagh/pkgcross

By ahuszagh

Updated about 5 years ago

Images pre-installed with cross-compiling toolchains and package managers.

Image
0

7.5K

ahuszagh/pkgcross 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
  • Conan
  • vcpkg
  • Meson

Example

This runs through the logic of building and running an example repository on PowerPC64, a big-endian system, using vcpkg to install a zlib dependency:

pip install xcross
git clone https://github.com/Alexhuszagh/xcross --depth 1
cd xcross/test/zlib
mkdir build && cd build
export CROSS_TARGET=ppc64-unknown-linux-gnu
xcross cmake ..
xcross make -j 2
xcross run zlibexec

This runs through the logic of building and running an example repository on PowerPC64, a big-endian system, using Conan and Meson to install a zlib dependency:

pip install xcross
git clone https://github.com/Alexhuszagh/xcross --depth 1
cd xcross/test/zlib
mkdir build && cd build
export CROSS_TARGET=ppc64-unknown-linux-gnu
xcross conan install ..
xcross meson ..
xcross conan build ..
xcross run zlibexec

Tag summary

Content type

Image

Digest

Size

455.8 MB

Last updated

about 5 years ago

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