[MPlayer-dev-eng] ./configure generates makefiles with optimisation level 4 which does not do anything
Diego Biurrun
diego at biurrun.de
Tue Jun 1 10:51:08 CEST 2004
Vladimir Mosgalin writes:
> 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?
Yes and if a future gcc comes with a new optimization level we
automatically pick it up. Look at the kernel, it gets compiled with
-O9 for that reason.
Diego
More information about the MPlayer-dev-eng
mailing list