Page 1 of 1

vlc activex compiling problem

Posted: 02 Aug 2005 06:46
by help
I compiled VLC0.8.2 in XP, using Cygwin.

Everything goes well except that I found that generated axvlc.dll is 15MB.
I made some subtle changes to plug-in's UI and this axvlc.dll works alright. But still I

wanna a smaller dll. The same file in windows installation version is only 5.93MB. Is it

strange? :?:

I am pretty sure the one I compiled is a release version as during my configuration

procedure I have set the parameter "--enable-release".

Below is the script I used for compiling:

#! /bin/sh
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--disable-mkv \
--enable-nls \
--with-mad=/usr/win32 \
--enable-ffmpeg --with-ffmpeg-config-path=/usr/win32/include \
--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 \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-dvdread \
--enable-optimizations \
--enable-release


Thanks in advance!!

Posted: 02 Aug 2005 08:47
by ipkiss
Run 'strip axvlc.dll'

Posted: 02 Aug 2005 10:42
by help
Ah, yeah, it's smaller now, 8.58MB. Thanks!! :D

Still, is there any other methods to make it loose more weight? :P

Posted: 02 Aug 2005 19:57
by ipkiss
Hmm, you could try to add --disable-debug to the configure line...

Posted: 03 Aug 2005 06:52
by help
I tried it, but it doesn't work.
How can they make it that small? :roll:

Posted: 03 Aug 2005 10:17
by Quovodis
"they" use the following switches:
--disable-debug --enable-release

Posted: 03 Aug 2005 13:02
by dionoea
(just so you know : --enable-release isn't used anywhere in the source code/make process :P . I guess its a legacy configure switch )