[MPlayer-dev-eng] ./configure generates makefiles with optimisation level 4 which does not do anything

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Tue Jun 1 04:12:25 CEST 2004


On Tue, 1 Jun 2004, J. Grant wrote:

JG>Hi,
JG>
JG>I wonder if you guys are aware that ./configure generates makefiles with
JG>-O4 ?  gcc only does anything with values 0-3:
JG>http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
JG>
JG>So I think the script should create makefiles with -O3 IMO.
JG>Or mabye there is some other cc used other than gcc?
JG>
JG>I can create a patch to change this if you would accept this change.
JG>Please let me know if you would like a patch, then I create and submit
JG>for review.  it will be only a 1byte change of cause, so one of you could
JG>do it if you approve of this proposed correction.

-O4 was used in pgcc, with current gcc it just does the same as -O3, and
there are no problems or anything with that. Why bother?

-- 

Vladimir




More information about the MPlayer-dev-eng mailing list