6.s096 2013

Lecture 1

Date: January 8, 2013
Topic: The Compilation Pipeline
Assignment: Assignment 1

- Lecture Notes

View the annotated slides

Download the slides as a PDF

- Lab Exercises

The primary goal of this lab period is to get your C compiler up and running.

As we recommend on the software page, you should probably test your solutions on Athena, if not complete the entire assignment there. However, we'll also be available to help you set up software on your local machine as well.

We have 2 “Hello, World!” examples for you to practice compiling to make sure that everything is working.

Compile hello1 with:

gcc hello.c -o hello1

Compile hello2 with:

gcc main.c hello.c -o hello2

You might also get a head start on Thursday's assignment.