[MPlayer-dev-eng] Why -O4 (again?)

David Holm david at realityrift.com
Fri Jun 14 20:46:58 CEST 2002


MPlayer compiles with other compilers than gcc, ie on Darwin.

On Fri, 2002-06-14 at 14:49, Dominik Mierzejewski wrote:
> Could someone explain to me (or point to archival link) why we're using
> -O4 in OPTFLAGS? I've seen this in configure since I first started using
> mplayer and now that I build packages, I'd like to ask.
> AFAIK there's no such thing as -O4. info gcc says -O3 is max.
> 
> BTW: since RedHat's default (when building RPMs, that is) is -O2,
> I'm emulating -O3 by adding "-ffast-math -finline-functions"
> to default CFLAGS. Again, info gcc says it's equivalent to -O3 then
> (except -ffast-math, but that's for folks who worry about strict IEEE
> conformance, not us :->).
>  
> -- 
> MPlayer RPMs: http://msp-190.man.olsztyn.pl/~dominik/linux/pkgs/mplayer/
> "The Universe doesn't give you any points for doing things that are easy."
>         -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
> Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng





More information about the MPlayer-dev-eng mailing list