Xmake Cross Compilation

Use when the user is cross-compiling a C/C++ project with xmake — targeting Android/iOS/embedded/MinGW/WASM, pointing at an SDK/NDK root, overriding cc/cxx/ld/ar, selecting a built-in cross toolchain, or defining a custom toolchain in xmake.lua. Covers the full `xmake f` flag set and common SDK layouts. For generic toolchain switching on the *host* platform (e.g. gcc ↔ clang), `xmake-toolchains` is enough.

xmake-io Updated

File contents

xmake-io/xmake-skills/tree/main/skills/toolchains/xmake-cross-compilation commit c1a6f0e7f4

Frequently asked questions

npx skillmds@latest add xmake-io/xmake-cross-compilation