I was wondeing gcc stated that "-07" was fine but when I timed several programs, I noticed it was the same speed as with "-03"... I thought Compaq's compiler was an optimized version of GCC??? "M�ns Rullg�rd" wrote in message news:yw1xn0jlamok.fsf@zaphod.guide... > " DiskMan" writes: > > > I've been messing around with this for the last day or so after I noticed, > > after compiling a program, the optimized version ran NOTICABLY faster... > > About 20% or so. I didn't think optimizing would make that much of a > > difference... Now I'm hooked, I'm going for the max. Right now I was > > recomiling Samba with the following: > > > > CC="gcc" CFLAGS="-g -O7 -pca56" CPPFLAGS="-O7 -I/usr/local/include/" > > ./configure > > At least on Alpha, -O3 is the highest level of optimization. A higher > number is equivalent to 3. > > If you want the fastest code, you should use compaq's compiler, if it > can compile the code, i.e. it doesn't rely on strange gcc extensions. > > -- > M�ns Rullg�rd > mru@users.sf.net