practicalities
compiling and linking
compiler options
- object files -o option
- compile without linking -c option
- include file path -I
linker options
- libraries -l, path -L
- static vs shared libraries, and LD_LIBRARY_PATH
library tools
- nm to look into static libraries
- ldd look at dependencies
debugging
- -g option
- gdb
- valgrind
- gcov
profiling
-
-pg option (compile and link)
gprof
special C problems
- stack corruption
- various issues with pointers
- memory leakage