Article View: comp.os.msdos.programmer
Article #39Re: HELP: bloated BC++ program (one of us needs relief...)
From: Jerzy Tarasiuk
Date: Fri, 30 Oct 1992 02:00
Date: Fri, 30 Oct 1992 02:00
13 lines
1421 bytes
1421 bytes
>>>>> On Fri, 23 Oct 1992 00:51:00 GMT, sam4628@zeus.tamu.edu said: s> News-Software: VAX/VMS VNEWS 1.41 s> I have a small program (source below) which basically runs a COMMAND s> shell. When in this shell, I do a MEM /C | MORE to check the size of s> the program, which turns out to be about 65702 bytes!!! The executable s> is only a couple of K! For the record, the parent program which this s> is distilled from is over 27K, but still takes up 65702 bytes according s> to MEM. The specs are: s> BC++3.1, Tiny memory model, no debugging info, optimized for size s> MSDOS 5.0, 486DX33... Seems most of space is used by stack: in TINY model all segments have same address and stack pointer is set to top of 64kB area.
Technical Details
Message-ID:
<JT.92Oct30030055@fizyk1.fuw.edu.pl>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!fuw.edu.pl!cocos!jtReferences:
<22OCT199219515621@zeus.tamu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!fuw.edu.pl!cocos!jt From: jt@fuw.edu.pl (Jerzy Tarasiuk) Subject: Re: HELP: bloated BC++ program (one of us needs relief...) In-Reply-To: sam4628@zeus.tamu.edu's message of Fri, 23 Oct 1992 00:51:00 GMT Message-ID: <JT.92Oct30030055@fizyk1.fuw.edu.pl> Sender: news@fuw.edu.pl Nntp-Posting-Host: fizyk1 Organization: Warsaw University Physics Dept. References: <22OCT199219515621@zeus.tamu.edu> Date: Fri, 30 Oct 1992 02:00:55 GMT Lines: 13