public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem using pthreads with GCC under CygWin
@ 2001-12-09  1:48 Kay M
  2001-12-10  5:38 ` Pavel Tsekov
  0 siblings, 1 reply; 2+ messages in thread
From: Kay M @ 2001-12-09  1:48 UTC (permalink / raw)
  To: cygwin

I have win98
Have installed Cygwin B20.1 and also have installed version 1.3.3.

I have a simple .c file that is a pthreads example.

Problem is When I compile it it dont compile. GCC cant see the pthreads 
libraries. Ive tried the -pthread and -pthreads switch. Ans also #included 
the pthreads.h.

There is no pthread.h file in the include directories ?

WHat the problem ?.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: Problem using pthreads with GCC under CygWin
  2001-12-09  1:48 Problem using pthreads with GCC under CygWin Kay M
@ 2001-12-10  5:38 ` Pavel Tsekov
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Tsekov @ 2001-12-10  5:38 UTC (permalink / raw)
  To: Kay M; +Cc: cygwin

You dont need to add neither -pthread nor -pthreads to
the gcc command line. pthreads is part of the cygwin
libc.

Kay M wrote:
> 
> I have win98
> Have installed Cygwin B20.1 and also have installed version 1.3.3.
> 
> I have a simple .c file that is a pthreads example.
> 
> Problem is When I compile it it dont compile. GCC cant see the pthreads
> libraries. Ive tried the -pthread and -pthreads switch. Ans also #included
> the pthreads.h.
> 
> There is no pthread.h file in the include directories ?
> 
> WHat the problem ?.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2001-12-10 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-09  1:48 Problem using pthreads with GCC under CygWin Kay M
2001-12-10  5:38 ` Pavel Tsekov

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