怎么使用sysroot

What is usually done when doing cross-development like that is either:

  1. Use the sysroot provided by the cross-toolchain (take a look a Linaro for example)
  2. Use your target file system as sysroot

In the first case, you'll have to cross-compile all the dependencies you need and add them to the >cross-toolchain sysroot.

In the second case, you install the development packages of the dependencies you need directly on >the target. Then, depending on how you have setup your development environment, either you copy >this "new version" of the device filesystem on your development machine or make it available >through e.g. sshfs.
来自这里

你可能感兴趣的:(怎么使用sysroot)