From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12397 invoked by alias); 9 May 2003 12:43:32 -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 12357 invoked from network); 9 May 2003 12:43:31 -0000 Received: from unknown (HELO hotmail.com) (64.4.18.91) by sources.redhat.com with SMTP; 9 May 2003 12:43:31 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 9 May 2003 05:43:31 -0700 Received: from 62.245.182.10 by oe34.law12.hotmail.com with DAV; Fri, 09 May 2003 12:43:30 +0000 X-Originating-IP: [62.245.182.10] X-Originating-Email: [vcotirlea@hotmail.com] From: "vc" To: "Ross Johnson" Cc: References: <3EBAFBEA.70403@ise.canberra.edu.au> Subject: Re: pthread Win32 - runtime lib VC++ setting Date: Fri, 09 May 2003 12:43: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: 09 May 2003 12:43:31.0054 (UTC) FILETIME=[988F58E0:01C31628] X-SW-Source: 2003/txt/msg00046.txt.bz2 First of all thanks for your answer. > vc wrote: > > >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) > > > Re the /MT flag, I can't say now because I don't really know. As Simon Gerblich stated he is building the lib using /MD and it seems to be ok, so I will use this flag for the release version. > >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? > > > > > Since you wan't to build the library yourself, you should get the source > via anonymous CVS (see the web page for details - > http://sources.redhat.com/pthreads-win32/). It has the latest bug fixes, > and currently bug fixes are the only changes from the latest versions > available from ftp. I will update the ftp versions ASAP. OK ... So I will take the latest sources directly from the cvs. > > >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) > > > > > See the FAQ file, answer to Q2. For VC you don't need to do anything > because it is the default. The others can be used if you add the > appropriate compile flags when you build your application code, and when > you build the library if you don't use the prebuilt dlls. I already read the FAQ, that is actually why I decided on the VC version, as I have to port a Unix app on Windows, so I just assume that this version is simulating in the best way the Unix posix threads and what the Unix developers expected from the posix threads usage ... And if I understood correctly, the VC version don't need any flag to be defined neither in pthread sources, nor in the app that uses this dll, as by default the VC will be build/used. Thanks a lot !!! Viv