Mail Archives: djgpp/1997/04/04/10:10:43
David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk> wrote:
> In article <3334969b DOT 455274 AT news DOT demon DOT co DOT uk>, "Alaric B. Williams"
> <alaric AT abwillms DOT demon DOT co DOT uk> writes
> >What optimisation setting are you using?
> >
> >Try putting "-O3 -fomit-frame-pointer -ffast-math -fstrength-reduce"
> >on the gcc command line like so:
> >
> >gcc my.c -o my -O3 -fomit-frame-pointer -ffast-math
> >-fstrength-reduce
> I thought that -O1 to -O3 switched on the -f optimisations in stages.
> Does this mean that to get the maximum optimisation we should turn all
> these -f switches on too??? (I know RTFM ;-)
Consult the info files, not all the -f are enabled!!, some of them doesn't help
at all!!, others have side effects (-fomit-frame-pointer make problems to debug
under some platforms).
SET
--------------- 0 --------------------------------
Salvador Eduardo Tropea (SET).
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -