CSE2302 Operating Systems
Semester 2, 2005
Laboratory Sheet 1
GNU Compiler Tools: Info, GCC, GDB and Make
Introduction
This prac will take you through some short web pages on GNU Info,
GCC, GDB, and Make, along with a few other associated programs and
concepts. Go through the pages in the order listed below, and do all
the activities they suggest. Next to each of the links in the list is
a description of what your demonstrator will test you on.
Topics
- GNU Info: You will be asked to find
particular info pages and to move around them.
- The GNU debugger: You will be asked to
explain and move within a stacktrace, to set breakpoints and step
through the code, and to display variables.
- GCC: You will be asked to explain the
compilation steps as displayed by gcc, the path searching and output
of the preprocessor, the correspondance between the assembly code and
the compiled source code, the effect of enabling debugging information, the
output of objdump, linking, and the path searching done by linker.
- Make and Makefiles: You will be asked to
explain the contents of the given Makefile, and the effect of altering
some source files.
© Monash University, 2005