Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Harish<harish@ukans.edu>
Subject: Re: pthreads
Date: 2000/04/26	[thread overview]
Message-ID: <8e69tt$n4b$1@news.cc.ukans.edu> (raw)
In-Reply-To: 8e66uc$mk8$1@info.service.rug.nl

Hi,

: Yes, I use pthreads. Do you use the correct compiler flags?
: I compile with 
: cc -pthread -std1 

Thanks for your reply. I need to use gcc for compilation. The flags
that I did try were 

-D_REENTRANT -D_PTHREAD_USE_D4 -lpthread -lmach -lexc

though I think these are specific to DEC threads. So, wouldn't 
something like this 

gcc -c app.c -o app.o -lpthread

work ? It seems to give the error that I mentioned in the previous 
posting.

- Harish




  reply	other threads:[~2000-04-26  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-26  4:00 pthreads Harish
2000-04-26  4:00 ` pthreads Fred Zwarts
2000-04-26  4:00   ` Harish [this message]
2000-04-26  4:00     ` pthreads Steffen Neumann
  -- strict thread matches above, loose matches on Subject: below --
1994-02-11 18:17 pthreads Markus Klingspor
1994-02-14 16:56 ` pthreads Simon Patience
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox