www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/03/19:22:42

Date: Sat, 3 Dec 94 11:41 PST
From: jdp AT polstra DOT com (John Polstra)
To: djgpp AT polstra DOT com
Subject: Re: object file format change?

> What do people think about changing the object file format from COFF to
> ELF for V2.0?  We would be able to make all the configurations 100%
> compatible with Linux to make things a lot easier, and get better
> debugging and linking support too.

You probably already know this, but just in case you don't:  If you
switch to ELF, be sure to configure the compiler for "--with-stabs".
Otherwise, you'll get the DWARF debugging format by default.  It's not
supported by g++.  Configuring for the "stabs" format will allow
debugging of both C and C++ programs, using gdb.

Other than that, ELF sounds OK to me.  It's a pretty versatile object
format, much more so than COFF.

   John Polstra                                       jdp AT polstra DOT com
   John D. Polstra & Co., Inc.                   Phone (206) 932-6482
   Seattle, Washington USA                         Fax (206) 935-1262
   "Self-knowledge is always bad news."                 -- John Barth

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019