From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: Size Date: Thu, 9 Dec 1999 07:07:43 +0200 Organization: The South African Internet Exchange Lines: 33 Message-ID: <82ndpj$sll$5@ctb-nnrp1.saix.net> References: NNTP-Posting-Host: pc36-01-p54.nt.saix.net X-Trace: ctb-nnrp1.saix.net 944716403 29365 155.239.194.54 (9 Dec 1999 05:13:23 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 9 Dec 1999 05:13:23 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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... Two steps 1. Use the -s GCC commandline option gcc -o test.exe test.c -s This strips debug info out of the produced .EXE 2. Use an EXE file compressor like DJP (DJGPP executables only) or UPX (generic executable file compressor). -- This message courtesy of RylanNet rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ -- StarWars for ever!.