delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/15/18:30:57

From: "Michel Chassey" <michelc AT primus DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Globals and binary size
Lines: 20
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Message-ID: <El5c5.624$r3.5370@news2.tor.primus.ca>
Date: Sat, 15 Jul 2000 18:06:38 -0500
NNTP-Posting-Host: 209.167.12.164
X-Complaints-To: news AT primus DOT ca
X-Trace: news2.tor.primus.ca 963699172 209.167.12.164 (Sat, 15 Jul 2000 18:12:52 EDT)
NNTP-Posting-Date: Sat, 15 Jul 2000 18:12:52 EDT
Organization: Primus Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
     I use many global arrays in my program and I am puzzled because the
binary size
increase does not reflect sizeof ( _new_array).
As an example, adding : unsigned long long    _BITMAP [ 64 ];  (sizeof is
512),
produces a binary size increase of only  about 53 bytes. This last number
varies from
49 to 53.
     Could you point me to some reference on how globals are stored,

Thanks in advance from a newbie,

Michel Chassey
icq # 34801616





- Raw text -


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