Mail Archives: djgpp/1998/03/17/00:59:44
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
- Raw text -