Page 1 of 1

Saving time during recompilation

Posted: 24 Oct 2008 15:47
by ramprasad85
Hi
i am trying to modify x264 and build VLC using that
my configure-vlc.sh file is as follows

./configure -C \
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ramprasad/x264 \
CC="ccache gcc" CXX="ccache g++" \
--disable-gtk \
--disable-avcodec --disable-avformat --disable-swscale \
--disable-faad --disable-flac --disable-theora \
--disable-cddax --disable-vcdx --disable-goom \
--disable-twolame --disable-dvdread \
--enable-debug --disable-dca \
--disable-mkv --disable-taglib \
--disable-mad --disable-live555 \
--disable-postproc \
--enable-x264 --with-x264-tree=/home/ramprasad/x264


I have no problems in configuring and building,
but whenever i make a change in x264, i am doing the following in vlc directory
make clean
./configure-vlc.sh
make
the whole process takes atleast 15 mins

if i just run make, it doesnot reflect the modifications

i believe only linking is required rather than compiling the whole VLC source
please tell what i need to do, so that i can use the modified x264 with little effort.

Thank you

Re: Saving time during recompilation

Posted: 25 Oct 2008 05:00
by Jean-Baptiste Kempf
Sorry, but if you do "make", it will recompile only what you modified in vlc trunk. If you modify x264 object, then just run "make clean; make" in modules/codec/

Re: Saving time during recompilation

Posted: 28 Oct 2008 06:52
by ramprasad85
yeh it worked
Thanks a lot