Clang is a front-end for a set of C compilers which are written using the LLVM compiler toolkit. It is a powerful and commonly used open-source compiler for C, C++ and Objective-C. It is also compatible with GCC compiled codes as well. It also has a good set of diagnostics and output for error handling and debugging.
Using Clang on RCC Systems
Clang can be called from the command line by loading the Clang module then running the compiler. This can be done using the following set of commands:
module load clang clang YOURCODE.c -o EXECUTABLENAME
For more extensive usage documentation and advanced options, see the user's manual.