public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Size of generated programs (fwd)
@ 1997-12-08 11:54 Bill Walker
  1997-12-08 13:07 ` Elliot Lee
  1997-12-08 14:35 ` Dale Martin
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Walker @ 1997-12-08 11:54 UTC (permalink / raw)
  To: egcs

Forwarded message:
> Precedence: bulk
> 
> I've had egcs up and running for a few days now, and have encountered no
> problems with the programs I've compiled (other than the ones I make for 
> myself).  One thing I've noticed is that the stripped executables are 
> significantly larger than those I get with gcc2.  I compile with
> 
> -O3 -ffast-math -funroll-loops -malign-*=0  -malign-double -march=pentium (or
> -m486).
> 
> Any idea why this happens?
> 
> David Ronis
> 
>

	I have had essentially the same experience, with C, FORTRAN,
and C++.  The increase is anywhere from about 2% to about 10%, after
stripping, and running through mcs -d.  OTOH, the egcs compiler seems to
compile things that I just couldn't compile before, so I consider it
a wash.

	My platform is OSR 5.0.4.

BW



-- 
Bill Walker Ph.D.
Chairman, Dept. of Computer Science
East Central University
Ada, Oklahoma 74820-6899

e-mail:  bw@cs.ecok.edu 
phone:   580 332 8000 ext. 594
FAX:     580 332 4616


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Size of generated programs (fwd)
@ 1997-12-09  5:17 Bill Walker
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Walker @ 1997-12-09  5:17 UTC (permalink / raw)
  To: egcs

Forwarded message:
> > 
> > 	I have had essentially the same experience, with C, FORTRAN,
> > and C++.  The increase is anywhere from about 2% to about 10%, after
> > stripping, and running through mcs -d.  OTOH, the egcs compiler seems to
> > compile things that I just couldn't compile before, so I consider it
> > a wash.
> 
> Add -fno-exceptions to the command line.
> 
	Sorry -- didn't make much difference at all.

BW


-- 
Bill Walker Ph.D.
Chairman, Dept. of Computer Science
East Central University
Ada, Oklahoma 74820-6899

e-mail:  bw@cs.ecok.edu 
phone:   580 332 8000 ext. 594
FAX:     580 332 4616


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-12-09  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-08 11:54 Size of generated programs (fwd) Bill Walker
1997-12-08 13:07 ` Elliot Lee
1997-12-08 14:35 ` Dale Martin
1997-12-09  5:17 Bill Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).