This workshop is a 4-day instructional workshop (and not a forum for contributed presentations) and involves lectures and laboratory exercises aimed at providing details of the internals of GCC (GNU Compiler Collection).

Workshop: June 30 - July 03, 2011

Slides: July 05, 2011

Coverage & Schedule: June 21, 2011

Selected Candidates: June 01, 2011 

Past Updates

GCC is the de-facto standard compiler generation framework on GNU/Linux and many variants of Unix. In the last 20 years of its existence, it has seen a rapid growth and wide acceptability.

What is GCC?

GCC, an acronym for GNU Compiler Collection, is a compiler generation framework which generates production quality optimizing compilers from descriptions of target platforms. It follows an open development model whereby its source is available for all for inspection and modification. It supports a wide variety of source languages and target machines (including operating system specific variants) in a ready-to-deploy form. Besides, new machines can be added by describing instruction set architectures and some other information (eg. calling conventions).

Novices may want to see the  Wikipedia introduction to GCC. For experts, the GCC page contains a wealth of information including installation instructions, reference manuals (which include users' guides as well as details of GCC internals), a set of frequently asked questions, a wiki page for the developers of GCC, additional reading material, and several mailing lists for more detailed issues and queries. An excellent description of GCC internals can also be found on Wikipedia. Some notes on GCC internals are available at Washington University.

Who should attend this workshop?

Anybody who has done at least a first level undergraduate course in compiler construction and has some experience of either working in compilers or teaching compilers. A sound understanding of the process of compilation is a must. Familiarity with Unix/Linux (particularly, the command line style of working) is absolutely necessary. We have identified some homework exercises to be done before the participants arrive for the workshop.

Take-aways from the workshop

After attending this workshop

  • A teacher of compiler construction will be able to take examples of real compilation processes to illustrate the difference phases of compilation
  • A compiler developer wanting to retarget GCC to a new machine will know how to write machine descriptions systematically
  • A researcher exploring machine independent optimizations will be able to add data flow analysis based optimization passes to GCC
  • A researcher exploring retargetable compilation will be exposed to real issues in an industry strength compiler
  • A software engineer will be exposed to the architecture of a very large and very successful software

Structure of the workshop

This a 4 day workshop from June 30, 2011 to July 3, 2011. The offering of the workshop has a lot of new material and all the material has been upgraded to GCC 4.6.0.

Here is a conceptual structure of the coverage and a detailed workshop schedule.