Home | History | Annotate | Download | only in docs

Lines Matching full:clang

2 How To Cross-Compile Clang/LLVM using Clang/LLVM
9 Clang on host machine, targeting another platform.
11 For more information on how to use Clang as a cross-compiler,
12 please check http://clang.llvm.org/docs/CrossCompilation.html.
38 For more information on how to configure CMake for LLVM/Clang,
46 * ``-DCLANG_TABLEGEN=<path-to-host-bin>/clang-tblgen``
56 However, if you're using Clang, the driver might not be up-to-date with your
71 using Clang as a cross-compiler, you will *also* have to set ``--sysroot``
74 When using Clang, it's important that you choose the triple to be *identical*
75 to the GCC triple and the sysroot. This will make it easier for Clang to
95 #. If you're using Clang as the cross-compiler, there is a problem in
104 This is not a problem, since Clang/LLVM libraries are statically
148 If you're using Clang as the cross-compiler, run:
152 $ CC='clang' CXX='clang++' cmake -G Ninja <source-dir> <options above>
154 If you have ``clang``/``clang++`` on the path, it should just work, and special
174 After the LLVM/Clang has built successfully, you should install it
187 $ ln -sf <install-dir> arm-linux-gnueabihf-clang
188 $ tar zchf arm-linux-gnueabihf-clang.tar.gz arm-linux-gnueabihf-clang
200 --cc `pwd`/arm-linux-gnueabihf-clang/bin/clang \
201 --cxx `pwd`/arm-linux-gnueabihf-clang/bin/clang++
204 on your board. Also, the path to your clang has to be absolute, so