www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/11/07:44:07

From: "Dmitry Shkarin" <dmitry DOT shkarin AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sizes of executables
Date: Fri, 11 Feb 2000 14:11:40 +0300
Organization: home
Lines: 18
Message-ID: <880rb7$2368$1@gavrilo.mtu.ru>
References: <MPG DOT 130d0440d417320b989680 AT news1 DOT telia DOT com>
NNTP-Posting-Host: ppp99-80.dialup.mtu-net.ru
X-Trace: gavrilo.mtu.ru 950268072 68808 212.188.99.80 (11 Feb 2000 11:21:12 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 11 Feb 2000 11:21:12 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

                         Hi, All!
>Hello
>I have some problems in keeping down the sizes of the executables when I
>link with djgpp. There just MUST be a way to strip them down because the
>code of the object files before linking is only a small fraction of the
>huge exe's I get. There seem to be a whole lot of unused code in the
>files. Does anyone have an answer to this? I am a rather newbie at djgpp
>(I have been using turbo c++ before).
    I'm new DGJPP user too and I have the same problem: sizes of small
executables(~100KB, I did not ported larger apps yet) are more than twice
larger then for other compilers. I had tried to remove exception code &
rtti(-fno-exceptions & -fno-rtti), but
it does not matter.
    Why is it?




- Raw text -


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