Holger Waechtler <[EMAIL PROTECTED]> writes:

> Hi Thomas, hi everybody else,
> 
> it would be great, if you all could send comments to this
> compiler-flag-discussion. I believe it's really important, that
> the ./configure - make - make install - way of compiling won't create
> slower code then the old fashioned one does.
> 
> What about a 'compiler-flag-database': let the configure check, which
> compiler it detects, and add all known well working compiler flags to the 
> CFLAGS.
> 
> Which one these are exactly, we have to discuss here:
> 
> gcc 2.7.2 and egcs 1.1.1 produce correct and (on pentium class cpu's)
> faster code on the computers I tested with
> 
> $ gcc -malign-loops=2 -malign-jumps=2 -malign-functions=2 -O3 -fPIC
>         -ffast-math -funroll-loops -fomit-frame-pointer.

I wouldn't mind an option to compile without -fPIC.  I hardly ever run
two programs that use Mesa at once, so I don't really care if the
library has some dirty pages.  (IIRC, -fPIC is around 5-10% slower.)


Josh



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to