https://stackoverflow.com/questions/39920712/what-is-a-sysroot-exactly-and-how-do-i-create-one
A sysroot is a directory which is considered to be the root directory for the purpose of locating headers and libraries. So for example if your build toolchain wants to find /usr/include/foo.h
but you are cross-compiling and the appropriate foo.h
is in /my/other/place/usr/include/foo.h
, you would use /my/other/place
as your sysroot.