Home | History | Annotate | Download | only in docs

Lines Matching full:clang

62 You should produce bitcode files from ``clang`` with the option
63 ``-flto``. This flag will also cause ``clang`` to look for the gold plugin in
116 $ clang -flto a.c -c -o a.o # <-- a.o is LLVM bitcode file
118 $ clang b.c -c -o b.o # <-- b.o is native object file
119 $ clang -flto a.a b.o -o main # <-- link with LLVMgold plugin
138 * Set environment variables (``$PREFIX`` is where you installed clang and
143 export CC="$PREFIX/bin/clang -flto"
144 export CXX="$PREFIX/bin/clang++ -flto"
154 export CC="clang -flto"
155 export CXX="clang++ -flto"