This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: COFF doesn't support long longs
- To: snowball3 at usa dot net
- Subject: Re: COFF doesn't support long longs
- From: Ian Lance Taylor <ian at cygnus dot com>
- Date: Mon, 9 Nov 1998 01:44:23 -0500
- CC: bug-gnu-utils at gnu dot org, egcs-bugs at cygnus dot com
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