[XviD-devel] Linux (gcc) optimizations

Cameron Brunner gamr at inetsalestech.com
Thu Dec 11 04:16:12 CET 2003


On Wed, 10 Dec 2003 23:27:09 +0100, Edouard Gomez <ed.gomez at free.fr> wrote:

> Christoph Lampert (chl at math.uni-bonn.de) wrote:
>> With "-fcgse" compiling failed on all SuSE 9. I myself updated an older
>> version with a newer gcc and had the same problems now.
>
> Strange,  Debian uses  a  "latest gcc  release"  + CVS  updates (to  fix
> regressions only afaik) and it does compile everything like a charm.
>
> Anyway,  go  ahead,  change  what  is  needed (in  the  first  lines  of
> configure.in,    you'll   find    the    aggregated   default    compile
> options).  According to  latest gcc  benchmarking  (the one  with a  DNA
> based benchmarking procedure)  -03 gave best results for  most tests. We
> should  just take  care of  additionnal  flags which  can cause  trouble
> combined with -03.
>
> Someone feeling the courage to run the DNA banchmrking ? ;-)
>

-O3 is evil on a gcc 3.2.2 from freebsd, be warned, i get core dumps if i 
use O3 on 3.2.2 but on 3.3.3 -O3 is fine. Keep in mind that most people's 
compilers are antique.


Cameron


More information about the XviD-devel mailing list