www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/25/10:46:10

Date: Tue, 25 Nov 1997 17:44:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Christopher Croughton <crough45 AT amc DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Excessive exe sizes
In-Reply-To: <97Nov25.163503gmt+0100.17026@internet01.amc.de>
Message-ID: <Pine.SUN.3.91.971125174221.28212Q-100000@is>
MIME-Version: 1.0

On Tue, 25 Nov 1997, Christopher Croughton wrote:

> This is because it would somehow merge
> duplicate definitions, yes?  So if you said "int x; int x;" it would
> merge tham and then generate code to destroy 'x' twice?

Yes.

> does any other C++ compiler have this problem?

I have no idea.  I try to stay away of C++ as much as I can.  Maybe other 
compilers just let you fail if you define the same object twice?

> In the meantime, it sounds as though compressing the executable is the 
> answer.  Or are there problems with that as well?

Not that I know of.  But then I'm not that excited about the size of the 
.exe files I get ;-).

- Raw text -


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