[LLVMdev] Building llvm from source with clang instead of gcc
Krzysztof Parzyszek
kparzysz at codeaurora.org
Sun Jan 6 09:11:36 PST 2013
On 1/6/2013 8:47 AM, Justin Holewinski wrote:
>
> Generally, it is recommended to bootstrap clang:
>
> 1. Build llvm/clang with system gcc
> 2. Build llvm/clang with new clang
> 3. Install new clang somewhere (which will automatically use system
> libstdc++/glibc).
>
> This should solve your problem.
Do you mean that it is recommended to bootstrap clang (i.e. steps 1, 2,
3), as opposed to just building it with whatever compiler that is
available (steps 1, 3)? If so, why?
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list