delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/25/06:16:25

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Some comments and questions
Date: Fri, 24 Oct 1997 22:21:40 -0400
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 22
Message-ID: <345157B4.1D72@cam.org>
References: <199710230703 DOT UAA23329 AT atlantis DOT actrix DOT gen DOT nz>
NNTP-Posting-Host: dynamicppp-251.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kris Heidenstrom wrote:
> >> Language implementation info - the info file for the standard C library
> >> is good, but I can't find any language implementation reference - for
> >> example, something that will tell me what size a 'short' will be, etc.
> >
> > No body wrote such a text so isn't available.
> 
> Fair enough.

You can easily do that, just declare global vars in a file, like

double dbl
float flt
then compile with the -S switch and look at the output...
you will get something like
.comm _dbl,8
and the 8 is the number of bytes you have in the double (I dunno if
double is actually 8 bytes)
-- 
--> http://www.cam.org/~tudor <--
Go ahead and build another Messiah
We dig another grave...

- Raw text -


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