Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: David Jenkins , djgpp AT delorie DOT com Date: Fri, 4 Apr 1997 11:32:50 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Simple 32-bit question. David Jenkins wrote: > In article <3334969b DOT 455274 AT news DOT demon DOT co DOT uk>, "Alaric B. Williams" > 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