From: mschulter AT DOT value DOT net (M. Schulter) Newsgroups: comp.os.msdos.djgpp Subject: long long int in DJGPP? Date: 10 Sep 1997 02:54:43 GMT Organization: Value Net Internetwork Services Inc. Lines: 43 Message-ID: <5v525j$749$1@vnetnews.value.net> NNTP-Posting-Host: value.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, there. Looking at the GCC docs and reading the mail archives on DJ's site leaves me still a bit unclear as to whether DJGPP supports the 64-bit long long int type. At the outset, please let me emphasize my recognition that this is _not_ ANSI standard C. In fact, some messages report that it may not be supported for GCC on the i386 platform, but only on some other processor(s). The following program suggests either that indeed this type is not supported on DJGPP, or that I've goofed . #include int main(void) { long long int _n0 = 1222333444555LL; printf("\n\nNow _n0 = %lli.\n\n",_n0); return(0); } Interestingly, although I wasn't able to find mention of a printf() format specifier for this type, either %lld or %lli (a guess) provokes no complaints from GCC -- but yields a result suggesting a 32-bit rather than 64-bit variable (-1732234805). Out of curiosity, I thought I might check just in case I should be linking in an extra library or the like. Most appreciatively, Margo Schulter mschulter AT value DOT net (To reply, please remove the extra . from my default address)