GNU Compiler Collection (GCC) Internals
Publisher: Free Software Foundation 2008
This manual is mainly a reference manual rather than a tutorial. It discusses how to contribute to GCC, the characteristics of the machines supported by GCC as hosts and targets, how GCC relates to the ABIs on such systems, and the characteristics of the languages for which GCC front ends are written. It then describes the GCC source tree structure and build system, some of the interfaces to GCC front ends, and how support for a target system is implemented in GCC.
Home page url
Download or read it online for free here:
by Vincent Chung - Free Software Foundation, Inc.
This manual documents how to run, install and port the GNU compiler, as well as its new features. It corresponds to GCC version 3.0. Only the options for the C, Objective-C, and C++ compilers and those of the GCC core are discussed.
The purpose of this book is to provide practical advice on writing a compiler, together with some examples of both compilers and interpreters, in order to break away from the concept that building compilers and interpreters are impossible tasks.
by Dick Grune, Ceriel J. H. Jacobs - Ellis Horwood Ltd
This book treats parsing in great depth. It offers a clear and thorough discussion of different parsing techniques with their applications, including error recovery techniques. The text covers almost all parsing methods, not just the popular ones.
by Richard Bornat - Middlesex University
This book attempts to explain and demystify the principles of compiler writing so that you can go out and build a working compiler of your own. There is enough detail in this book for you to build a compiler for quite a complicated language.