怎么使用sysroot

2018-04-02  本文已影响0人  贵族_4e67

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.
来自这里

上一篇下一篇

猜你喜欢

热点阅读