public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* What's the suggested way to build pthreads?
@ 2001-01-01 23:21 Magnus Zakrisson
  2001-01-01 23:27 ` Phil Frisbie, Jr.
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Magnus Zakrisson @ 2001-01-01 23:21 UTC (permalink / raw)
  To: Pthreads-Win32@Sources.Redhat.Com

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

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

[-- Attachment #2: Type: text/html, Size: 1651 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the suggested way to build pthreads?
  2001-01-01 23:21 What's the suggested way to build pthreads? Magnus Zakrisson
@ 2001-01-01 23:27 ` Phil Frisbie, Jr.
  2001-12-13  7:30   ` Phil Frisbie, Jr.
  2001-01-02 10:24 ` Ross Johnson
  2001-12-13  2:37 ` Magnus Zakrisson
  2 siblings, 1 reply; 10+ messages in thread
From: Phil Frisbie, Jr. @ 2001-01-01 23:27 UTC (permalink / raw)
  To: Magnus Zakrisson; +Cc: Pthreads-Win32@Sources.Redhat.Com

I have always built the library with MSVC 5.0, so 6.0 should also work
fine.

> 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

Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the suggested way to build pthreads?
  2001-01-01 23:21 What's the suggested way to build pthreads? Magnus Zakrisson
  2001-01-01 23:27 ` Phil Frisbie, Jr.
@ 2001-01-02 10:24 ` Ross Johnson
  2001-01-02 16:31   ` CVS repository Ross Johnson
  2001-12-13 20:21   ` What's the suggested way to build pthreads? Ross Johnson
  2001-12-13  2:37 ` Magnus Zakrisson
  2 siblings, 2 replies; 10+ messages in thread
From: Ross Johnson @ 2001-01-02 10:24 UTC (permalink / raw)
  To: Magnus Zakrisson; +Cc: Pthreads-Win32@Sources.Redhat.Com

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                   |
+-----------------------------+

^ permalink raw reply	[flat|nested] 10+ messages in thread

* CVS repository
  2001-01-02 10:24 ` Ross Johnson
@ 2001-01-02 16:31   ` Ross Johnson
  2001-12-13 22:28     ` Ross Johnson
  2001-12-13 20:21   ` What's the suggested way to build pthreads? Ross Johnson
  1 sibling, 1 reply; 10+ messages in thread
From: Ross Johnson @ 2001-01-02 16:31 UTC (permalink / raw)
  To: Pthreads-Win32@Sources.Redhat.Com

This is probably a good time to mention that, since
the last snapshot there have been some updates to the
source code in the CVS repository.

I'm mentioning this because it's been quite a while
since the last snapshot release, and the next one
probably won't be out before the new year, possibly
not until february.

A couple of people have recently sent me changes and
bug fixes, some of which have been done already
(in CVS), and the rest will appear in CVS of course
a lot sooner than the next snapshot. Generally I try
to make sure any new changes pass the test suite
before committing them to CVS.

There's information at
http://source.redhat.com/pthreads-win32
re getting and using CVS (or WinCVS) if you don't
use it already.

Cheers.
Ross

^ permalink raw reply	[flat|nested] 10+ messages in thread

* What's the suggested way to build pthreads?
  2001-01-01 23:21 What's the suggested way to build pthreads? Magnus Zakrisson
  2001-01-01 23:27 ` Phil Frisbie, Jr.
  2001-01-02 10:24 ` Ross Johnson
@ 2001-12-13  2:37 ` Magnus Zakrisson
  2 siblings, 0 replies; 10+ messages in thread
From: Magnus Zakrisson @ 2001-12-13  2:37 UTC (permalink / raw)
  To: Pthreads-Win32@Sources.Redhat.Com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the suggested way to build pthreads?
  2001-01-01 23:27 ` Phil Frisbie, Jr.
@ 2001-12-13  7:30   ` Phil Frisbie, Jr.
  0 siblings, 0 replies; 10+ messages in thread
From: Phil Frisbie, Jr. @ 2001-12-13  7:30 UTC (permalink / raw)
  To: Magnus Zakrisson; +Cc: Pthreads-Win32@Sources.Redhat.Com

I have always built the library with MSVC 5.0, so 6.0 should also work
fine.

> 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

Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the suggested way to build pthreads?
  2001-01-02 10:24 ` Ross Johnson
  2001-01-02 16:31   ` CVS repository Ross Johnson
@ 2001-12-13 20:21   ` Ross Johnson
  1 sibling, 0 replies; 10+ messages in thread
From: Ross Johnson @ 2001-12-13 20:21 UTC (permalink / raw)
  To: Magnus Zakrisson; +Cc: Pthreads-Win32@Sources.Redhat.Com

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                   |
+-----------------------------+

^ permalink raw reply	[flat|nested] 10+ messages in thread

* CVS repository
  2001-01-02 16:31   ` CVS repository Ross Johnson
@ 2001-12-13 22:28     ` Ross Johnson
  0 siblings, 0 replies; 10+ messages in thread
From: Ross Johnson @ 2001-12-13 22:28 UTC (permalink / raw)
  To: Pthreads-Win32@Sources.Redhat.Com

This is probably a good time to mention that, since
the last snapshot there have been some updates to the
source code in the CVS repository.

I'm mentioning this because it's been quite a while
since the last snapshot release, and the next one
probably won't be out before the new year, possibly
not until february.

A couple of people have recently sent me changes and
bug fixes, some of which have been done already
(in CVS), and the rest will appear in CVS of course
a lot sooner than the next snapshot. Generally I try
to make sure any new changes pass the test suite
before committing them to CVS.

There's information at
http://source.redhat.com/pthreads-win32
re getting and using CVS (or WinCVS) if you don't
use it already.

Cheers.
Ross

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: What's the suggested way to build pthreads?
  2001-01-02  7:27 Mike Kinghan
@ 2001-12-13  7:58 ` Mike Kinghan
  0 siblings, 0 replies; 10+ messages in thread
From: Mike Kinghan @ 2001-12-13  7:58 UTC (permalink / raw)
  To: 'Phil Frisbie, Jr.', Magnus Zakrisson
  Cc: Pthreads-Win32@Sources.Redhat.Com

MSVC 6.0 does work fine, but I think Magnus is sating he wants to do without
it.

Mike Kinghan
System Union

-----Original Message-----
From: Phil Frisbie, Jr. [ mailto:phil@hawksoft.com ]
Sent: Thursday, December 13, 2001 3:30 PM
To: Magnus Zakrisson
Cc: Pthreads-Win32@Sources.Redhat.Com
Subject: Re: What's the suggested way to build pthreads?


I have always built the library with MSVC 5.0, so 6.0 should also work
fine.

> 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

Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: What's the suggested way to build pthreads?
@ 2001-01-02  7:27 Mike Kinghan
  2001-12-13  7:58 ` Mike Kinghan
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Kinghan @ 2001-01-02  7:27 UTC (permalink / raw)
  To: 'Phil Frisbie, Jr.', Magnus Zakrisson
  Cc: Pthreads-Win32@Sources.Redhat.Com

MSVC 6.0 does work fine, but I think Magnus is sating he wants to do without
it.

Mike Kinghan
System Union

-----Original Message-----
From: Phil Frisbie, Jr. [mailto:phil@hawksoft.com]
Sent: Thursday, December 13, 2001 3:30 PM
To: Magnus Zakrisson
Cc: Pthreads-Win32@Sources.Redhat.Com
Subject: Re: What's the suggested way to build pthreads?


I have always built the library with MSVC 5.0, so 6.0 should also work
fine.

> 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

Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-12-14  6:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01 23:21 What's the suggested way to build pthreads? Magnus Zakrisson
2001-01-01 23:27 ` Phil Frisbie, Jr.
2001-12-13  7:30   ` Phil Frisbie, Jr.
2001-01-02 10:24 ` Ross Johnson
2001-01-02 16:31   ` CVS repository Ross Johnson
2001-12-13 22:28     ` Ross Johnson
2001-12-13 20:21   ` What's the suggested way to build pthreads? Ross Johnson
2001-12-13  2:37 ` Magnus Zakrisson
2001-01-02  7:27 Mike Kinghan
2001-12-13  7:58 ` Mike Kinghan

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).