delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: gcc for djgpp vs borland c compiler |
Date: | 30 Apr 2001 11:39:01 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 17 |
Message-ID: | <9cjisl$iks$1@nets3.rz.RWTH-Aachen.DE> |
References: | <3 DOT 0 DOT 6 DOT 16 DOT 20010429114701 DOT 62afcf70 AT pop3 DOT 01019freenet DOT de> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 988630741 19100 137.226.32.75 (30 Apr 2001 11:39:01 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 30 Apr 2001 11:39:01 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Nur Nurani <nur DOT nurani AT freenet DOT de> wrote: > there is an optimation switch -s (I think). "-s" is is *not* an optimization switch. It's a size reduction switch, and it works by removing all the additional information put into the file by GCC which is meant to enable you to debug the program if it has any problems. The effect is the same as if you run strip yourprog.exe after having built it. Optimization switches are -O<something> and many of the -f<something> variety. See the GCC docs for details ("info gcc invo optim"). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |