From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17140 invoked by alias); 8 May 2003 11:10:08 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 17118 invoked from network); 8 May 2003 11:10:02 -0000 Received: from unknown (HELO hotmail.com) (64.4.18.199) by sources.redhat.com with SMTP; 8 May 2003 11:10:02 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 May 2003 04:10:01 -0700 Received: from 62.245.182.10 by oe64.adinternal.hotmail.com with DAV; Thu, 08 May 2003 11:10:01 +0000 X-Originating-IP: [62.245.182.10] X-Originating-Email: [vcotirlea@hotmail.com] From: "vc" To: Subject: pthread Win32 - runtime lib VC++ setting Date: Thu, 08 May 2003 11:10:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 08 May 2003 11:10:01.0994 (UTC) FILETIME=[5EE2F6A0:01C31552] X-SW-Source: 2003/txt/msg00043.txt.bz2 Hi all, I'm working on Win2k with VC++ 7.1 (VS .NET beta). I have to port a Unix app on Windows, so I'm using the pthread lib for Win32 (http://sources.redhat.com/pthreads-win32/). I've downloaded the sources, as I want to build them myself, and looking at the VC++ settings, I discovered that in Debug configuration, the /MDd flag is used (which means: "multithread- and DLL-specific versions of the run-time") and in Release configuration the /MT flag is used (even if the release version of the /MDd flag is /MD). Questions: 1) Why is not used in the project settings the same flag for both configuration(i.e /MDd - debug; /MD - release or /MTd - debug; /MT - release)? Is there a reason, or it was just by mistake? Note: MS recommended for DLLs to use /MD (/MDd) 2) If for this is actually no reason, is it ok if I build the sources using the /MD flag for release? 3) I donwloaded the sources from ftp://sources.redhat.com/pub/pthreads-win32/sources/ and there is a pthreads-snap-2002-11-04 directory. Is this a release version? Is it ok if I'm using this version, or this is just a version between 2 releases? 4) When I downloaded just binaries some time ago, there were 3 versions of the binaries: VC, VSE, VCE. The sources that I downloaded now seems to be for the VC version. Am I correct? (because this is the version that interests me) Thanks a lot in advance, Viv