pthreadVC2.dll dependency on MSVCR100.dll

Bruce Cran bruce@cran.org.uk
Mon Nov 26 00:02:00 GMT 2012


On 25/11/2012 23:09, Ross Johnson wrote:
> Not deliberate. I assume this is a default and one reference I found 
> claims it is linked to by msvcrt.lib in VS 2010. I'm looking but I 
> haven't found a solution yet that I like (assuming it's correct the 
> same reference suggests either linking statically or building with an 
> old environment - both unacceptable ).

If both those are unacceptable then the only solution will be to 
document the dependency. The last toolset which allowed linking to 
msvcrt.dll was WDK 7.1, and that has now been superseded by WDK 8.0, 
which uses VS 2012 instead of an ancient set of compilers.  I confirmed 
with Doron at Microsoft earlier this year that it's now a requirement to 
link against VS's CRT (http://www.osronline.com/showthread.cfm?link=221792).

Why is statically linking the CRT unacceptable?

-- 
Bruce Cran



More information about the Pthreads-win32 mailing list