[MPlayer-dev-eng] [PATCH] Disable optimizations when compiling with icc

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jun 10 22:12:38 CEST 2007


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> > > > IMO print a big warning that recommends using --target=generic-linux
> > > 
> > > How should target=generic-linux help? Would that deactivate optimizations
> > > in libswscale, liba52 and mp3lib?
> > 
> > It will just behave as if you were compiling MPlayer on some unknown
> > architecture. That means pure C code. It might be suboptimal because it
> > will also not set e.g. FAST_UNALIGNED.
> 
> I understand your point now insofar as target=generic-linux actually disables
> mmx etc. But since it also disables win32 libs (and others as you mentioned),
> it's definitely the worse option.
> Additionally, it does not help with liba52 and mp3lib.

Sorry for the nonsense!
target=generic-linux indeed makes compilation possible. A warning is probably a
good idea, but I will try first what happens if I remove static from all
attribute_used variables.

Carl Eugen





More information about the MPlayer-dev-eng mailing list