cpp-cross-compilation
CommunityCompile embedded targets from any host.
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cpp-cross-compilation Download link: https://github.com/Binh230199/ai/archive/main.zip#cpp-cross-compilation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.