From: "beat studer" Newsgroups: comp.os.msdos.djgpp Subject: Re: Size Date: Wed, 8 Dec 1999 21:06:01 +0100 Organization: sunrise communications ag Lines: 22 Message-ID: <82mdri$c49$1@news1.sunrise.ch> References: NNTP-Posting-Host: pop-ls-8-1-2-dialup-42.freesurf.ch X-Trace: news1.sunrise.ch 944683698 12425 194.230.231.42 (8 Dec 1999 20:08:18 GMT) X-Complaints-To: usenet AT sunrise DOT ch NNTP-Posting-Date: 8 Dec 1999 20:08:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT Delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Making a final build with the -s option reduces size considerably. If you run a program with a DOS-Shell and look at the memory (e.g. with 'mem /c') you'll find that only a relatively small portion is loaded into memory (e.g. 100 kb file-size vs. 17 kb in memory). Valkir wrote in message news:XQj34.344$nx1 DOT 17835 AT wagner DOT videotron DOT net... > How can I optimize my config so the size isn't that huge? > > Now if I do something like > > void main(){} > > it take 86k... something wrong I know :o) > > It does that with rhide and gcc... > > help me someone? thanks a lot > >