CSC362.01, Lab 1: Exploring Compilation * Sam has an odd attitude towards labs: Primarily a chance for you to play with software (and, hopefully, learn something from doing so). * But ATTENDANCE IS EXPECTED! * I will usually start with a quick intro. * Today: Work on documentation reading skills and sample assembly code. (The "Paul Heider" method of learning compilers.) * How to get the eBoard: Follow the links from the home page. * How to get the lab: Go to the labs page, click on "Lab 1", follow the instructions. Reflection: What did you learn? Problem 1 (Stages) * Assembly with -S (suffix is .s) * Post-preprocessing with -E (suffix is .i) * Object/machine code with -c (suffix is .o) * Side note: -save-temps, you get all of 'em Problem 2 (Sample C Program) Problem 3 (C vs. Pascal) Problem 4 (Internal Reps, Revisited) * RTL * A good URL (HTMLifying some random info page) http://docs.biostat.wustl.edu/cgi-bin/info2html?(gcc)RTL DON'T FORGET CONVO TODAY!