Hi everybody,<br><br>I recently compiled vlc by myself for customization because I want my vlc as small as possible.<br>Therefore I disable many options and <span style="color: rgb(0, 0, 0);">--disable-static --enable-shared.
</span><br>After successfully compiled and installed, I find that the size of vlc executable binary is <br>so big about 9.6MB. And I find the vlc binary in the debian package is small (about 1.2MB). <br>Could anyone give some suggestions that how to make vlc binary as small as possible?
<br><br>The following is my configure option.<br><br>../vlc-trunk/configure --enable-release \<br> --prefix=${HOME}/usr \<br> --enable-dependency-tracking \<br><span style="color: rgb(255, 0, 0);"> --disable-static --enable-shared \
</span><br> --enable-x11 \<br> --enable-sdl \<br> --with-sdl-config-path=/usr/bin \<br> --with-sdl-prefix=/usr/include/SDL \<br> --enable-ffmpeg --disable-ffmpegaltivec \<br> --with-ffmpeg-tree=${SRC_ROOT}/ffmpeg \
<br> --enable-sout --enable-httpd --enable-vlm \<br> --disable-mostly-builtin --enable-plugins \<br> --disable-optimize-memory --enable-optimizations \<br> --enable-dvbpsi \<br> --enable-hal --enable-dbus \<br> --disable-a52 --disable-mad \
<br> --disable-qte --disable-qt4 --disable-opie \<br> --disable-libtool --disable-shared-libvlc --disable-debug \<br> --disable-rpath --disable-nls \<br> --disable-dbus-control --enable-old-dbus \<br> --disable-gprof --disable-cprof \
<br> --disable-altivec \<br> --disable-switcher --disable-shout \<br> --disable-growl --disable-notify \<br> --disable-audioscrobbler --disable-musicbrainz --disable-taglib \<br> --disable-live555 \<br> --disable-dc1394 --disable-dv \
<br> --disable-dvdread --disable-dvdnav \<br> --disable-dshow --disable-opencv --disable-smb \<br> --disable-v4l --disable-v4l2 --disable-pvr \<br> --disable-gnomevfs \<br> --disable-libcdio --disable-cddax --disable-libcddb \
<br> --disable-vcdx --disable-cdda --disable-vcd \<br> --disable-dvb --disable-screen \<br> --disable-ogg --disable-mkv --disable-mod --disable-mpc --disable-gme \<br> --disable-faad --disable-twolame \<br> --disable-quicktime --disable-real --disable-realrtsp \
<br> --disable-dts --disable-flac \<br> --disable-libmpeg2 --disable-vorbis --disable-tremor --disable-speex \<br> --disable-tarkin --disable-theora --disable-dirac \<br> --disable-png --disable-x264 \<br> --disable-cmml \
<br> --disable-xvideo --disable-glx --disable-xvmc \<br> --disable-xinerama --disable-opengl \<br> --disable-freetype --disable-fribidi --disable-libxml2 --disable-svg \<br> --disable-snapshot \<br> --disable-hd1000v --disable-directx \
<br> --disable-fb --disable-mga --disable-svgalib --disable-directfb \<br> --disable-ggi --disable-glide \<br> --disable-aa --disable-caca \<br> --disable-wingdi \<br> --disable-oss --disable-esd --disable-portaudio --disable-arts --disable-alsa \
<br> --disable-waveout --disable-macosx-audio --disable-hd1000a --disable-jack \<br> --disable-cyberlink --disable-upnp --disable-skins2 --disable-pda \<br> --disable-wxwidgets \<br> --disable-macosx --disable-qnx \
<br> --disable-ncurses --disable-xosd \<br> --disable-visual --disable-galaktos \<br> --disable-goom --disable-bonjour --disable-lirc --disable-gnutls \<br> --disable-loader --disable-activex --disable-mozilla \<br>
--disable-python-bindings --disable-java-bindings \<br> --disable-testsuite \<br><br>