[LLVMdev] Issue compiling LLVM 2.6 on Windows with MinGW
Óscar Fuentes
ofv at wanadoo.es
Sun Nov 1 17:04:44 PST 2009
King InuYasha <ngompa13 at gmail.com> writes:
> I downloaded LLVM 2.6 and was attempting to compile it with TDM-GCC
> 4.4.1-tdm2-sjlj + cmake 2.6.4 and this happened:
[snip]
> Linking CXX executable ..\..\bin\opt.exe
> ..\..\lib\libLLVMSystem.a(RWMutex.cpp.obj):RWMutex.cpp:(.text+0x25):
> undefined reference to `_imp__pthread_rwlockattr_init'
[snip]
> The pthread libraries are there, so what's going on?
For this issues, bug reports are more convenient than messages on the
mailing list, so please file a bug report and put my e-mail on its CC
list.
Please execute
mingw32-make VERBOSE=1
and show the link command for opt.exe
--
Óscar
More information about the llvm-dev
mailing list