From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12390 invoked by alias); 14 Dec 2001 04:21:36 -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 12367 invoked from network); 14 Dec 2001 04:21:33 -0000 Received: from unknown (HELO real.ise.canberra.edu.au) (137.92.140.34) by sources.redhat.com with SMTP; 14 Dec 2001 04:21:33 -0000 Received: from setup1.ise.canberra.edu.au (IDENT:root@setup1.ise.canberra.edu.au [137.92.140.41]) by real.ise.canberra.edu.au (8.9.3/8.8.7) with ESMTP id PAA30043; Fri, 14 Dec 2001 15:21:31 +1100 Received: from ise.canberra.edu.au (IDENT:rpj@localhost.localdomain [127.0.0.1]) by setup1.ise.canberra.edu.au (8.9.3/8.8.7) with ESMTP id PAA05159; Fri, 14 Dec 2001 15:21:29 +1100 Message-ID: <3C197E49.E41DCCE@ise.canberra.edu.au> Date: Tue, 02 Jan 2001 10:24:00 -0000 From: Ross Johnson Organization: University of Canberra, Information Sciences and Engineering X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Magnus Zakrisson CC: "Pthreads-Win32@Sources.Redhat.Com" Subject: Re: What's the suggested way to build pthreads? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001/txt/msg00003.txt.bz2 I haven't tried the latest version at http://www.mingw.org/ but that is probably the place to start. The site looks relatively new. Like you, I've found locating Mingw32 packages difficult in the past. I'm still using the older version of Mingw. I don't know, in particular, whether Thomas Pfaff's instructions in the pthreads-win32 FAQ are needed with newer versions of mingw to get multi-threaded exception handling working. This is only required if you use mingw to build versions of pthreads-win32 that use C++ exception handling internally (it's used in thread cancelation but is not strictly necessary). You can build a standard C version of the library that only uses setjmp/longjmp in thread cancelation and exit (thanks again to Thomas). Cygwin has been adding it's own pthreads support but I don't know exactly where they are up to. I know that people are running the pthreads-win32 test suite against cygwin, but again, I don't know what the failure rate is. Ross > Magnus Zakrisson wrote: > > I've read in the FAQ that the suggested way to build pthreads is using > Mingw32 with the MSVCRT library. But all the links to Mingw32 seems > very old (from the previous millenium) and some links doesn't even > exist anylonger. > > So what is the answer today, how should I build pthreads? > And if the answer still is that I should use Mingw32 from where do I > get it and the other stuff that I may need? > > I have Cygwin 1.0 and VC++ 6.0 on Win2000. I also have a collegue who > have the same environment as I do except for VC++ which he doesn't > want to install if doesn't have to (he's working in another project > and they don't use VC++). > > Thanks, > Magnus -- +-------------------------+---+ | Ross Johnson | | "Come down off the cross | Management & Technology |___| We can use the wood" - Tom Waits | Building 11 | | University of Canberra | eMail: rpj@ise.canberra.edu.au | ACT 2601 | WWW: http://public.ise.canberra.edu.au/~rpj/ | AUSTRALIA | +-----------------------------+ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Johnson To: Magnus Zakrisson Cc: "Pthreads-Win32@Sources.Redhat.Com" Subject: Re: What's the suggested way to build pthreads? Date: Thu, 13 Dec 2001 20:21:00 -0000 Message-ID: <3C197E49.E41DCCE@ise.canberra.edu.au> References: X-SW-Source: 2001/msg00141.html Message-ID: <20011213202100.jnEINYy0Kludf86HUtv_D-0623V8v5Lqawih02QJmWY@z> I haven't tried the latest version at http://www.mingw.org/ but that is probably the place to start. The site looks relatively new. Like you, I've found locating Mingw32 packages difficult in the past. I'm still using the older version of Mingw. I don't know, in particular, whether Thomas Pfaff's instructions in the pthreads-win32 FAQ are needed with newer versions of mingw to get multi-threaded exception handling working. This is only required if you use mingw to build versions of pthreads-win32 that use C++ exception handling internally (it's used in thread cancelation but is not strictly necessary). You can build a standard C version of the library that only uses setjmp/longjmp in thread cancelation and exit (thanks again to Thomas). Cygwin has been adding it's own pthreads support but I don't know exactly where they are up to. I know that people are running the pthreads-win32 test suite against cygwin, but again, I don't know what the failure rate is. Ross > Magnus Zakrisson wrote: > > I've read in the FAQ that the suggested way to build pthreads is using > Mingw32 with the MSVCRT library. But all the links to Mingw32 seems > very old (from the previous millenium) and some links doesn't even > exist anylonger. > > So what is the answer today, how should I build pthreads? > And if the answer still is that I should use Mingw32 from where do I > get it and the other stuff that I may need? > > I have Cygwin 1.0 and VC++ 6.0 on Win2000. I also have a collegue who > have the same environment as I do except for VC++ which he doesn't > want to install if doesn't have to (he's working in another project > and they don't use VC++). > > Thanks, > Magnus -- +-------------------------+---+ | Ross Johnson | | "Come down off the cross | Management & Technology |___| We can use the wood" - Tom Waits | Building 11 | | University of Canberra | eMail: rpj@ise.canberra.edu.au | ACT 2601 | WWW: http://public.ise.canberra.edu.au/~rpj/ | AUSTRALIA | +-----------------------------+