<div>Hi!</div>
<div> </div>
<div>Everything worked fine, thanks!</div>
<div> </div>
<div>Though now I've updated LLVM from CVS and both llc and lli can't link with my library. Checked via "make VERBOSE=1" that all libraries listed in USEDLIBS variable are linked except mine. My library is built successfully and situated in LLVMOBJROOT/Debug/libs directory among the others. It doesn't have LLVM prefix though.
</div>
<div> </div>
<div>I noticed that LINK_COMPONENTS variable added to the llc and lli makefiles. I tried to reread the documentation about LLVM makefile system but it didn't help to solve my problem.</div>
<div> </div>
<div>I have the following makefile:</div>
<div> </div>
<div>LEVEL = ../../..</div>
<div>LIBRARYNAME = RegAlloc</div>
<div>BUILD_ARCHIVE = 1</div>
<div>DONT_BUILD_RELINKED = 1</div>
<div> </div>
<div>include $(LEVEL)/Makefile.common</div>
<div> </div>
<div>I've included my library dir within PARALLEL_DIRS of CodeGen makefile.</div>
<div>My createRegisterAllocator function is declared in Passes.h and called in LinkAllCodeGenComponents.cpp</div>
<div> </div>
<div>The name of my library is listed in USEDLIBS variable of llc makefile and JIT_LIBS of llvm/Makefile.rules (in order to link with lli). I tried both with "a" extension and without it.</div>
<div> </div>
<div>Any help would be appreciated. Thanks.</div>
<div> </div>
<div>Tony.</div>