For building executables to run on Linux, a toolchain on its own does not suffice. The program will need a system C library (libc) to link against, which in turn requires headers from Linux itself (for types and structures, syscall numbers, etc). This is known as a "sysroot".
For building executables to run on Linux, a toolchain on its own does not suffice. The program will need a system C library (libc) to link against, which in turn requires headers from Linux itself (for types and structures, syscall numbers, etc). This is known as a "sysroot".