Page 1 of 1

compiling modified source code for a single module

Posted: 30 Mar 2005 04:25
by jack_kanaska
Hi,

We are trying to modify VLC's interface functionality, and we are looking for a convenient way of quickly compiling changes made to a few specific files (eg modules/control/rc.c) without recompiling the entire system.

Any help or suggestions are greatly appreciated.

Cheers,
Jack.

Posted: 30 Mar 2005 09:18
by Sigmund
if the desired module is compiled as a plugin this can be done my something like this:
cd modules/control&&make librc_plugin.so; cd ../..

if the desired module is a builtin you need something like this:
cd modules/control&&make librc_plugin.a; cd ../.. && make vlc

also for plugins, just running make in the correct folder will usually improve speed considerably, while reducing the amount of typing needed

Posted: 19 May 2005 13:15
by Guest
Hi,

I'm interested in recompile a modified .c file too (well, a .cpp). I get the .cpp file compiled (unless make makes something), but when I type "make vlc" it says "nothing to be done to vlc". If I recompile all again, it works, but it takes a lot of time.

DO you know what is the problem?