[PATCH] Clang as a cross-compiler documentation
Stephen Kelly
stephen at kdab.com
Fri Sep 6 02:15:29 PDT 2013
Just repeating myself...
================
Comment at: docs/CrossCompilation.rst:67
@@ +66,3 @@
+The basic option is to define the target architecture. For that, use
+``-target <triple>``. If you don't specify the target, CPU names won't
+match (since Clang assumes the host triple), and the compilation will
----------------
You should use the --target=<tgt> form, not -target <tgt>
http://thread.gmane.org/gmane.comp.compilers.clang.devel/29975
http://llvm-reviews.chandlerc.com/D1606
More information about the cfe-commits
mailing list