From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: Size of .exe Why so BIG??? Date: Sat, 22 Feb 1997 07:47:56 +0000 Organization: None Distribution: world Message-ID: References: <19970221 DOT 175632 DOT 7567 DOT 3 DOT fwec AT juno DOT com> <330e7ef2 DOT 25904669 AT ursa DOT smsu DOT edu> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <330e7ef2 DOT 25904669 AT ursa DOT smsu DOT edu>, Tony O'Bryan writes >On Fri, 21 Feb 1997 22:50:08 GMT, fwec AT juno DOT com (Mark T Logan) wrote: > >>You can also use 'strip' one of the GNU binutils. I've never used it, >>but I think it does >>something like removing unnecessary data from the .exe. I could be wrong >>about this. > >I used strip on an 80K "Hello World" program, which trimmed it down to 30K. >That's pretty good when considering everything gcc has to link into the >executable. I've used the -s option it works great. But strip I don't understand. From what I can gather it works at the intermediate compiler stage on the pre assmebled source??? In short "How does it work????" -- David Jenkins