Thinking in C and *nix (CSC 282 2015S) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [Teaching & Learning] - [Calendar]
Current: [Outline] [EBoard] [Lab] [Assignment]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines]
Reference: [EBook] - [ISO] [GNU Coding Standards] [GCC Documentation] - [TAoUP] [Make3]
Previous Offerings: [CSC 295 2013S] [CSC 295 2014S]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker]
Held: Thursday, 12 February 2015
Back to Outline 03 - The Bash Shell - A Refresher. On to Outline 05 - Cron.
Summary
We consider the steps in compilation, focusing primarily on the preprocessor.
Related Pages
Overview
Administrivia
If we're going to talk about C, we should think about the structure of a typical project. What do we expect to have? We'll look at Sam's traditional model ofo the project
.h files)..c files)..h files).c files).#include "*file*" with the contents of file (relative path).#include <*file*>. with the contents of
*file* (found in the include path - starts with
/usr/include, but also anything else that you specify
with -I*dir* also some environment variable).-lname.-E - just the preprocessor-S - up through assembly-c - up through relocatable object code