www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/23/05:25:37

Date: Sun, 23 Feb 1997 12:21:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Size of .exe Why so BIG???
In-Reply-To: <oCxF5YAsSqDzEwI0@jenkinsdavid.demon.co.uk>
Message-ID: <Pine.SUN.3.91.970223121818.1447L-100000@is>
MIME-Version: 1.0

On Sat, 22 Feb 1997, David Jenkins wrote:

> 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????"

gcc -s and `strip' are just 2 different ways to do the same thing.  When 
you invoke gcc with -s, it just strips the debugging symbols before 
converting the program to DOS-style .exe program.  `strip' is a 
stand-alone program that does the same.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019