g++ compiling flags
•
-c
–
Only compile, don’t link – we’ll let
make
decide when to link.
•
-Wall
–
g++ will give us
all
of the
W
arnings it can think of.
Maybe it’ll
help us find a bug quickly.
•
-g
–
Add debugging information.