Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: GravityWell on December 05, 2012, 01:44:44 am
-
I was hoping to be able to switch between GCC and Clang under Linux so I could take advantage of Clang's improved error reporting, but LLVM/Clang is not a compiler option in CB. I saw the older threads about Clang support, but the posts seems to revolve around Windows, so I'm not clear if there is any way to get Clang working with Codeblocks under Linux. Any pointers?
-
I would say:
Go in Settings... -> compiler and debugger
and copy 'gcc compiler'
and replace then gcc by clang in 'Toolchain executables' tab.
-
Or, try the XML compiler branch; it contains a (mostly complete) interface to Clang.