Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C14B818.2D88EA14@syntrex.com> Date: Mon, 10 Dec 2001 14:26:48 +0100 From: Pavel Tsekov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Kay M CC: cygwin AT cygwin DOT com Subject: Re: Problem using pthreads with GCC under CygWin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/