Compiler Option: -sysroot
Documentation
Add a path to search for librariesSyntax
-sysroot < sysroot path >
Parameters
sysroot pathThe directory path of the sysroot for the toolchain used.
Description
The
This passes on some responsibility of finding needed resources to the toolchain. Typically only needed when cross compiling where resources are expected to be in a single directory structure and expected to be found at known locations relative to the
To explicitly locate libraries use
-sysroot compiler option passes this directory location to the linker to indicate where the linker should look for default object modules and libraries.This passes on some responsibility of finding needed resources to the toolchain. Typically only needed when cross compiling where resources are expected to be in a single directory structure and expected to be found at known locations relative to the
sysroot.To explicitly locate libraries use
#libpath or Compiler Option: -p.Version
- Since fbc 1.20.0
See also