[LLVMdev] External function 'pthread_once' could not be resolved

Chris Lattner sabre at nondot.org
Thu Jul 7 17:19:26 PDT 2005


On Thu, 7 Jul 2005, Henrik Bach wrote:
>> TOOLLINKOPTS := -lpthread
>
> There is both a static (.a) and dynamic (.so) version of  the library. The 
> above advise worked for the static library. However, I think it is more 
> convenient to use the dynamic version. How do I achieve that?

lli -load /path/to/libpthread.so foo.bc

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list