GCC/G++ Flashcards
1
Q
-O
A
optimization level 0=no optimization
2
Q
-g
A
add debug symbols
3
Q
-pthread
A
link against pthread library (required for g++)
4
Q
-I
A
specify include directories
5
Q
-o
A
output file name (as opposed to a.out)
6
Q
-x
A
language (c, c++ etc..) not heavily used
7
Q
-c
A
produce .o file from .c/.cpp file
used with makefile targets