[PATCH] Cross-compilation document

Renato Golin renato.golin at linaro.org
Wed Sep 4 01:04:19 PDT 2013


  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1584.2.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130904/deae9425/attachment.bin>


More information about the cfe-commits mailing list