Home > c programming language > clang: a C language family frontend for LLVM

clang: a C language family frontend for LLVM

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.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: