The following compiler options are available if you are using MingW, gcc or g++.
-g
This is the default debug format. This will normally choose the DWARF symbol format.
-gdwarf
The DWARF symbol format.
-gstabs
The STABS symbol format.
-gCoff
The COFF symbol format. This does create a lot of unnecessary symbols, making symbol parsing slower.