[PATCH] Clang as a cross-compiler documentation

Stephen Kelly stephen at kdab.com
Thu Sep 5 06:51:29 PDT 2013



================
Comment at: docs/CrossCompilationClang.rst:30
@@ +29,3 @@
+But Clang/LLVM is natively a cross-compiler, meaning that one set of
+programs can compile to all targets by setting the -target option. But that
+doesn't help finding the headers, libraries or binutils to generate
----------------
You should use the --target=<tgt> form, not -target <tgt>


http://llvm-reviews.chandlerc.com/D1606



More information about the cfe-commits mailing list