From: Paul <ele...@ya...> - 2006-07-20 01:12:23
|
Brian Dessent wrote: > Jason Wenger wrote: > > >>linux release executable: 1,766,572 bytes >>linux debug executable: 16,613,930 bytes >>win32 release executable: 2,726,912 bytes >>win32 debug executable: 98,052,647 bytes !!!! > > > This is just a result of the fact that the default debugging format for > the gnu toolchain under Win32 is still stabs which is an old and > somewhat clunky format. On linux they long ago moved to dwarf-2 as the > default which is more efficient in representing the debug info with less > duplication. Stabs just isn't all that sophisticated. > > You can try compiling your app under win32 using dwarf2 with -gdwarf-2 > instead of just -g. > > (Note that the debugging format and the exception handling mode are two > different things, and if you use -gdwarf-2 you still get SJLJ EH.) hi, sorry the mailing-list-search in sourceforge doesn't seem to be working? is there any reason to continue using stabs? can mingw's GDB (or cygwin's GDB) handle dwarf2 symbols? thanks Paul |