Re: [Mingw-msys] How do I recreate the MSYS distribution?
- Date: Fri, 03 Aug 2007 15:34:56 +0000
- From: Greg Chicares <chicares@xxxxxxx>
- Subject: Re: [Mingw-msys] Odd compilation problem: output under MSYS's shell, nothing under Windows' shell
On 2007-08-03 15:11Z, Antonio García wrote:
>
> Oh and -ggdb doesn't work,
> but -g does: I assume I just picked the wrong binary format (probably
> the Mingw32 GDB uses DWARF or something of the sort).
This depends on the specific version of gcc. My notes say:
# MinGW gcc-3.4.2 writes dwarf2 debug records if '-ggdb' is specified,
# but the version of gdb packaged with it expects stabs format.
and, IIRC, stabs was the default for MinGW gcc versions
before and after gcc-3.4.2 (unless you downloaded a special
dwarf2 version, or built one yourself).
You had said you're using "GNU gdb 5.2.1". That's pretty
old. There have been discussions of different 6.x versions
here in the past week or two, and I'd guess that this one
http://downloads.sourceforge.net/mingw/gdb-6.6.tar.bz2
might be the most robust.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys