This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: COFF doesn't support long longs


   From: "Mark E." <snowball3@usa.net>
   Date: Sun, 8 Nov 1998 17:47:50 +0000

   As someone on comp.os.msdos.djgpp discovered, COFF doesn't (yet) have 
   a long long int or a long long unsigned int defined for the symbol type field. 

Unfortunately, most COFF targets, including the i386 COFF used by
DJGPP, only provide four bit for the symbol, type, and all possible 16
values are already defined.  There is no way to define a new type for
long long.

The usual fix when using COFF is to use stabs debugging information
instead, which also works much better for C++.  For most COFF targets,
gcc supports a -gstabs option to generate stabs.  for many, you can
configure with --with-stabs to make stabs the default.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]