search for: threads_linkopt

Displaying 2 results from an estimated 2 matches for "threads_linkopt".

Did you mean: threads_linkopts
2005 Mar 16
0
[LLVMdev] Adding system libraries to the LLVM build
...which Makefile do I need to add the "-lpthread" > flag to get the thing to compile? The next issue is what is the *right* way > to do this: I think the answer is some form of: 1. The platform specific flag (e.g. -lpthread) should go into Makefile.config, named something like THREADS_LINKOPTS. This should obviously be autoconf'd. 2. In Makefile.rules at about line 800, we handle linking tools that use the JIT. This would be a natural place to add THREADS_LINKOPTS to the link arguments (e.g. like "-dlopen self" is added). It's not clear to me if pthreads...
2005 Mar 16
2
[LLVMdev] Adding system libraries to the LLVM build
I'm back working on my threading patch for the LLVM JIT after being distracted by a paper deadline. I think I have things working nicely on Mac OS X (I just did a CVS up and it will take another hour or two to build), but I'm having an issue with building on Linux. Specifically, "lli" fails to link because it now needs to link against libpthread, because it ends up pulling