Date: Mon, 16 Mar 1998 17:57:45 -0800 (PST) Message-Id: <199803170157.RAA24200@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Elliott Oti , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: release-quality compile - which switches to use Precedence: bulk At 03:52 3/16/1998 GMT, Elliott Oti wrote: >Viktor Lundstrom wrote: >> >> When doing a "release-quality"-compile which switches should I use? >> (ie. maximum optimization, no debug-data + stuff) > >gcc: >-O2 -s -ffast-math -fomit-frame-pointer ^^^^^^^^^^ Assuming you don't depend on exact ANSI behavior for floating point (like having `errno' set to EDOM when you do sqrt(negative) (Could be used in a signal handler or if the handler doesn't exit)). Nate Eldredge eldredge AT ap DOT net