What problem does it solve?
It removes the friction and guesswork from building C and C++ binaries for embedded targets from a desktop host, helping you avoid host library leakage, wrong-architecture outputs, and broken runtime packaging.
Core Features & Use Cases
It covers cross-toolchain selection, CMake toolchain file setup, sysroot configuration, pkg-config isolation, Android NDK integration, QNX build setup, and common debugging checks for architecture, GLIBC compatibility, and RPATH.
Use it when you need to audit a build system, bring up a new target toolchain, diagnose a binary that compiles but fails on-device, or wire cross-compilation into CI/CD for ARM Linux, AArch64, QNX, or Android.
Quick Start
Use the cpp-cross-compilation skill to set up the appropriate cross-toolchain for your target, configure the CMake sysroot and pkg-config path correctly, and then verify the produced binary on the target architecture before deployment.