Clarifying sysroot, as requested via IRC Hi silvas,
http://llvm-reviews.chandlerc.com/D1584 CHANGE SINCE LAST DIFF http://llvm-reviews.chandlerc.com/D1584?vs=3991&id=4015#toc Files: docs/HowToCrossCompile.rst Index: docs/HowToCrossCompile.rst =================================================================== --- docs/HowToCrossCompile.rst +++ docs/HowToCrossCompile.rst @@ -40,7 +40,8 @@ libraries installed. Finally, not all toolchains are the same, and consequently, not every Clang -option will make it work magically. Some options (like -sysroot) assume +option will make it work magically. Some options, like -sysroot (which +effectively changes the logical root for headers and libraries), assume all your binaries and libraries are in the same directory, which is not true when your cross-compiler was installed by the distribution's package management. So, for each specific case, you'll have to use more than one
Index: docs/HowToCrossCompile.rst =================================================================== --- docs/HowToCrossCompile.rst +++ docs/HowToCrossCompile.rst @@ -40,7 +40,8 @@ libraries installed. Finally, not all toolchains are the same, and consequently, not every Clang -option will make it work magically. Some options (like -sysroot) assume +option will make it work magically. Some options, like -sysroot (which +effectively changes the logical root for headers and libraries), assume all your binaries and libraries are in the same directory, which is not true when your cross-compiler was installed by the distribution's package management. So, for each specific case, you'll have to use more than one
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
