[MPlayer-dev-eng] Strip MPlayer/MEncoder binary with "-s"

Stanley stanleyhuangyc at yahoo.com.cn
Tue Mar 27 03:47:33 CEST 2007


Hi all,

I tried to add "-s" in --extra-libs. As you know, adding "-s" causes the 
GCC linker to strip out the unused code from the binary. The result is 
the binary of MPlayer/MEncoder is 1-3MB smaller (depending on features 
compiled in) than before.
My question is will this do harm to some functions of MPlayer/MEncoder. 
If not, why isn't '-s' added by default. I did some tests and until now 
didn't find any problem.

Stanley
__________________________________________________
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com



More information about the MPlayer-dev-eng mailing list