X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Abort when compiling using COFF debug format (-gcoff) Date: Fri, 27 Jan 2012 18:36:37 -0800 (PST) Organization: http://groups.google.com Lines: 40 Message-ID: References: <201201262112 DOT 52030 DOT juan DOT guerrero AT gmx DOT de> <83wr8eywzf DOT fsf AT gnu DOT org> <4faf5c37-ca50-4bd0-9081-3ada327099a5 AT h6g2000yqk DOT googlegroups DOT com> <83sjj1zlmn DOT fsf AT gnu DOT org> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1327718197 17016 127.0.0.1 (28 Jan 2012 02:36:37 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sat, 28 Jan 2012 02:36:37 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: b23g2000yqn.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKUARELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7,gzip(gfe) Bytes: 2958 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0S2j1W6000625 Reply-To: djgpp AT delorie DOT com Hi, On Jan 27, 12:48 am, Eli Zaretskii wrote: > > From: Rugxulo > > Date: Thu, 26 Jan 2012 15:01:08 -0800 (PST) > > > > Sounds like the COFF debug info generation has bit-rotted in GCC. > > > Nothing new here, no other platform uses COFF AFAIK. > > > What about ECOFF and XCOFF? (Tru64 ?? AIX ??) And I'd assume PE/COFF > > still uses most of the same COFF sources too. (Or did you only meant > > COFF debug info? > > Yes, I only meant COFF debug info, and I even wrote that explicitly > (see above). Well, I was confused by your "no other platform uses COFF AFAIK" statement. > > Dunno, it has vaguely worse support for C++ by default, so perhaps > > that's why.) But yeah, GCC and BinUtils seem to focus mostly on ELF > > these days (see Gold linker). > > Again, this is not about the object format, this is about debug info > format.  AFAIK, MinGW uses PE/COFF for the object format, but defaults > to DWARF for debug format. You mean DWARF-2 plus extensions, right? Well, admittedly ELF is more popular by far, esp. for *nix, and you can't use COFF debug info on ELF (can you?), hence the rarer the COFF format, the moreso its (optional) debug info. I honestly don't know who uses COFF debug info. I don't know if Cygwin or MinGW support it, even optionally. Presumably they generate the same as MS (CodeView??) in order to be compatible, but maybe not if GDB is considered sufficient. Honestly, Eli, I thought GNU Emacs (at least DJGPP) used "-gcoff". (Was that for unexec support?) Has that changed?