2011/11/19 Luis Lavena <[email protected]>:
> Hello,
>
> I'm trying to compile LLVM 2.9 as shared library and want to reduce
> all the possible external DLLs dependencies.
>
> I noticed that there are two winpthread libs included in the build:
> one for the DLL and one for the static library.
>
> I was wondering what will be the right enchantation to trigger LLVM
> configure to use the static version of winpthread instead of the DLL?
>
> As for the stdc++, I know -static-libgcc and -static-stdc++ will do,
> but dunno the one for winpthreads.
>
> It is possible?
>
> Thank you.
> --
> Luis Lavena
> AREA 17

Yes, this is possible.  Simply provide to gcc's frontend the option
'-static' and libpthread will be used static.

Kai

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to