Llvm / clang recompile with you

After reading a lot of questions here, I decided to give clang a go and installed the svn version on Ubuntu 12.04 (64 bit). I was expecting problems, but all of this was compiled without warning.

I noticed that when you run the configure script again, if clang / clang ++ is in your path, it will select this for gcc / g ++ for its own compilation. Is it a good idea to recompile llvm / clang with you? I know this is absolutely standard with gcc, but I read that the Cang C ++ implementation is still not good enough (maybe this is outdated information ...).

+4
source share
1 answer

For several years, Clang was a self-hosting. Losing this ability would be a serious regression.

Support for Clang current C ++ is not bad. Even most of C ++ 11 is already available for your use.

If you want to be safe, stay on a stable branch.

+3
source

Source: https://habr.com/ru/post/1432158/


All Articles