delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <ptsekov AT syntrex DOT com> |
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 <passhark AT hotmail DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Problem using pthreads with GCC under CygWin |
References: | <F68VQ5b0o6GPHjKlP8C00019827 AT hotmail DOT com> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |