Date: Tue, 16 Sep 1997 10:27:54 +0800 (GMT) From: Orlando Andico To: Serge Pachkovsky cc: djgpp AT delorie DOT com Subject: Re: The numer 1 compiler, DJGPP or MSVC Here's a good rating comparision In-Reply-To: <5viu2c$10v@rzunews.unizh.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 15 Sep 1997, Serge Pachkovsky wrote: > : 4.x. And GCC produces faster code than the IRIX 5.3 IDO C compiler (I've > : personally used both setups). > > This statement contradicts my own experience with IRIX compilers (on 5.2 IDO, > which is fairly old by happens to be my favorite. It is not really different > from 5.3 IDO as far as C and Fortran are concerned, which is all I need) and > gcc. > > The IDO compilers would usually produce faster code (not dramatically faster, > though - may be 20% or so) for *me*. However, if you just slam -O2 on the > IDO compiler, you won't get the fastest possible code... > > In all respect, may be you are just not quite as experienced with SGI IRIX > compilers as you are with gcc? I agree with your last statement. I can't get -O3 to work with the IRIX compiler (it says you have to do certain linker thingies which I don't know how to do). However, I didn't just ``slam -O2 on the IDO compiler.'' Anyway, for reference, the GCC switches I used were -O2 -Wall -mcpu=r4000 -mips2 and for the IDO CC I used -O2 -mips2 (-O3 wouldn't work because of the ucode thingie). ------------------------------------------------------------------- Orlando Alcantara Andico WWW: http://www2.mozcom.com/~orly/ Email: orly AT mozcom DOT com ICBM: 14 30 00 N 120 59 00 E POTS: (+632) 932-2385