<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Folks,</div><div><br></div><div>So far, I have been specifying my source code file name directly in Modules.am. Now, I would like to build a separate library and link it within vlc's build process. I would appreciate your help in understanding how to do this.</div><div><br></div><div>Step 1: Compile and create the library:</div><div><br></div><div>gcc -Wall -c ctest1.cpp ctest2.cpp<br>ar -cvq libctest.a ctest1.o ctest2.o <br></div><div><br></div><div>Are there any gcc flags that are required by VLC? </div><div><br></div><div>Step 2: Link with the library file</div><div><br></div><div>I guess somewhere I need to specify "-lctest." Where is this supposed to go?</div><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter<br></div></div></body></html>