This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem using pthreads with GCC under 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]