X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Markus R. Keßler" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compilation and optimization using gcc Date: Tue, 19 Apr 2005 15:25:22 +0100 Organization: SAG Lines: 25 Message-ID: <426514D2.D307E39E@uni.de> References: <4264FC7C DOT 9F401ACF AT uni DOT de> <200504191200 DOT j3JC0jOZ017837 AT envy DOT delorie DOT com> NNTP-Posting-Host: demm3wac.ww100.siemens.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.mch.sbs.de 1113917119 28168 139.21.64.150 (19 Apr 2005 13:25:19 GMT) X-Complaints-To: abuse AT siemens DOT de NNTP-Posting-Date: Tue, 19 Apr 2005 13:25:19 +0000 (UTC) X-Mailer: Mozilla 4.08 [de] (Win95; I; 16bit) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJ Delorie wrote: > > When compiling, let's say, Bash 2.04, the exe file I get is 1.3 MB but > > the downloaded one out of the binaries from delorie.com is 560k. As > > described in the "readme" I ran "./configure" and then "make". Everthing > > seems to be well, except, regarding the size of the exe file. Or, is it > > necessary to optimize the compile / link procedure manually? > > Files on delorie.com are normally stripped (strip foo.exe) and > compressed (with upx). > > Try strip first; it's easy and probably all you need. strip bash.exe ==> 534k Apr 19 15:08 bash.exe Great, many thanks! Best regards, Markus -- Please reply to group only. For private email please use http://www.dipl-ing-kessler.de/email.htm