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/