From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e3765e2a725fcb7d X-Google-Attributes: gidfee84,public From: Harish Subject: Re: pthreads Date: 2000/04/26 Message-ID: <8e69tt$n4b$1@news.cc.ukans.edu>#1/1 X-Deja-AN: 615822334 Sender: Harish Sitaraman References: <8e63fa$d6k$1@news.cc.ukans.edu> <8e66uc$mk8$1@info.service.rug.nl> Organization: University of Kansas Computing Services User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (Linux/2.2.5-15 (i686)) Newsgroups: comp.unix.osf.osf1 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