IT lexicon › Programming › Sysroot

Sysroot

Programming På svenska → Updated: 2026-11-13

A directory on the build machine that mirrors the target system's filesystem hierarchy, used during cross-compilation.

When cross-compiling (e.g., for ARM from an x86 workstation), the compiler and linker need headers and libraries from the target architecture. Rather than installing them system-wide, a sysroot is a sandbox containing /usr/include, /lib, and other directories specific to the target. Tools are pointed to it via --sysroot; it's essential for embedded development and modern CI/CD pipelines.

← Back to the lexicon