[cfe-dev] Help with decrypting extra output and suggestion for a guide

David Gilmore dmgaust at gmail.com
Thu Nov 25 01:07:32 PST 2010


I am very new to all things C. Eg. programming. compilers debuggers and
such.  So I am not the best candidate for development, but I like to
experiment. And here is my first attempt to use clang with my test file
(tfile.c).  There is a lot more output then your webpage showed; that I do
not understand or know about. I have  read most of your website, yet I have
not discovered what a lot of it means. Maybe just my lack of knowledge of
all things compilers.

 So is there a good book or website/s I can read to get this knowledge?

I have been reading "An Introduction to GCC - for the GNU Compilers gcc and
g++" by Brian Gough, which I have found a good start point for programming
with a compiler. Might be a good candidate for a rewritten for clang for
newbies like me :)

Yet this book does not has the intermediate to advanced knowledge that I am
needing or wanting.  I have also been reading the GCC documentation but it
seems too be a more formal explanation of the compiler and tools. Not that
many examples and good explanations of why or when to use some argument or
option. For example they use -Wall argument to set a whole list of other
arguments for warnings, but from my experiments your compiler (clang) does
not. Is this true or am I wrong?

Seeking more input, Thanks
DMG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101125/122e4977/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfile.c
Type: text/x-csrc
Size: 3057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101125/122e4977/attachment.c>


More information about the cfe-dev mailing list