[vlc-devel] Re: bloat size of vlc.exe

Sigmund Augdal sigmunau at stud.ntnu.no
Fri Feb 11 09:47:42 CET 2005


On Thu, Feb 10, 2005 at 01:52:50PM -0800, Aaron Lee wrote:
> Hi,
> 
> I am trying to compile a release version of vlc.exe with 2005/02/09's
> vlc-trunk on Windows using Cygwin 1.5.12 and using the following
> configure params:
> 
> $ ./configure --disable-sdl --disable-gtk --enable-nls --enable-ffmpeg
> --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib
> --enable-faad --enable-flac --enable-theora
> --with-wx-config-path=/usr/win32/bin
> --with-freetype-config-path=/usr/win32/bin
> --with-fribidi-config-path=/usr/win32/bin --disable-livedotcom 
> --disable-caca  --with-xml2-config-path=/usr/win32/bin
> --disable-dvdnav --disable-dvdread --disable-cddax --disable-vcdx
> --disable-goom --disable-toolame --disable-debug --disable-mkv
> --disable-mad --enable-release --disable-httpd --disable-vcd
> --disable-screen --disable-quicktime --disable-libmpeg2
> --disable-vorbis --disable-speex --disable-png --disable-x264
> --disable-cmml --disable-x11 --disable-xvideo --disable-glx
> --enable-freetype --disable-fribidi --disable-libxml2 --disable-alsa
> --disable-waveout --disable-joystick --disable-skins2
> --disable-wxwindows
> 
> I have disabled most of the stuff and have --enable-release flags on.
> Unfortunately my vlc.exe is still very big 10MB. Am I missing
> something?

Seems like you have disabled everything except ffmpeg. Perhaps your ffmpeg
is built with lots of unnecessary stash. Try to compile ffmpeg with release
options.

Also, what do you plan to use this version for? It seems fairly useless with
all those features disabled.

Adding --disable-plugins would reduce the total size of the application by
including all modules in the .exe and thus dropping the overhead of the dlls
for the plugins. And finally there is upx to compress the binary.


Sigmund


> 
> -Aaron
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
Sigmund Augdal
Edgar B. Schieldropsv 29-14
N-7033 Trondheim
Norway
tlf: 91809129

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list