public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: "Fritz, Robert H. CIV NAVAIR/5.1.2.1 2424,1,607" <robert.fritz@navy.mil>
To: <pthreads-win32@sourceware.org>
Subject: Release Build dependency on debug rt in vs7.1
Date: Fri, 07 Aug 2009 13:42:00 -0000	[thread overview]
Message-ID: <0FD193C7681BE544BC2A4DF53A1E9A9304112982@naeapaxrez05.nadsusea.nads.navy.mil> (raw)

[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]

I've downloaded pthreads-w32-2-8-0-release.exe and have built it in Release under vs7.1, letting VS7.1 import/convert the .dsw/.dsp into .sln/.vcproj.  While pthreadVC2.dll builds without errors or warnings, my application, also built in Release as part of the same solution, complains if the VS7.1 RT Debug DLL msvcr71d.dll is not present.

I've isolated the problem to pthreadVC2.dll when built in Release under vs7.1:
1) I substituted the vs7.1 built DLL with Pre-built.2\lib\pthreadVC2.dll and msvcr71d.dll is no longer required.  
2) I've substituted the vs7.1 built DLL with a VS6 built pthreadVC2.dll I built using the original .dsw/.dsp and again my application runs without complaint.  

I've looked into the .proj file and see that it is properly using NDEBUG.  
Can someone duplicate/explain how my DLL has acquired a dependency on msvcr71d.dll? For comparison purposes, my pthreadVC2.dll is 52kb when built in VS7.1. 

The last peculiarity I've noticed is that Pre-built.2\lib\pthreadVC2.dll is 85kb in size, while the one I built in VS6 using the provided .dsw/.dsp is 44kb.  I would have expected them to be the same size.  This would imply that Pre-built was created using a different method.

Finally, has anyone played with the VS2010 beta to see what, if any, impact the multi-core support might have on this pthread code?

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4924 bytes --]

             reply	other threads:[~2009-08-07 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 13:42 Fritz, Robert H. CIV NAVAIR/5.1.2.1 2424,1,607 [this message]
2009-08-08  1:38 ` Ross Johnson
2009-08-11 15:38   ` Fritz, Robert H. CIV NAVAIR/5.1.2.1 2424,1,607
2009-08-07 14:41 Fritz, Robert H. CIV NAVAIR/5.1.2.1 2424,1,607

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0FD193C7681BE544BC2A4DF53A1E9A9304112982@naeapaxrez05.nadsusea.nads.navy.mil \
    --to=robert.fritz@navy.mil \
    --cc=pthreads-win32@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).