Archive

Posts Tagged ‘compiler’

clang: a C language family frontend for LLVM

March 5, 2012 Leave a comment

Clang is considered to be a production quality C, Objective-C, C++ and Objective-C++ compiler when targeting X86-32, X86-64, and ARM… If you are looking for source analysis or source-to-source transformation tools, clang is probably a great solution for you.

User’s Manual

Clang vs Other Open Source Compilers

Example

$ sudo apt-get install clang
$ clang hello.c
$ ./a.out
hello world

I didn’t dive into it but for “hello world” it works just like GCC :) I added some errors intentionally and the compiler told me exactly what and where the problem is. The warning/error messages were very informative.

Follow

Get every new post delivered to your Inbox.

Join 44 other followers