gcc-Wall |
turn on most checking and warning messages - use it! | |
-O |
produce faster code | |
-c |
incremental compilation - produce a .o file only | |
-o |
specify name of binary | |
-llibrary |
make functions from a library available | |
-g |
insert debugging code into executable (for gdb |
|
-p |
insert profiling code into executable (for gprof |