From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f9bc273cd76dcd51 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,f9bc273cd76dcd51 X-Google-Attributes: gidf678f,public From: rajeev@susie.EECS.Berkeley.EDU (Rajeev Kumar Ranjan) Subject: Re: Problems with thread library in OSF1 V3.2 Date: 1996/07/21 Message-ID: #1/1 X-Deja-AN: 169383244 sender: rajeev@susie.EECS.Berkeley.EDU references: organization: Univ of California, Berkeley newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc In article <4ss7rt$sm1@vixen.cso.uiuc.edu> peltz@jaka.ece.uiuc.edu (Steve Peltz) writes: From: peltz@jaka.ece.uiuc.edu (Steve Peltz) Keywords: Cc: In article , Rajeev Kumar Ranjan wrote: >I am trying to use the thread library but have not been successful. >--------------------------- >The compile command I used is: cc -g test.c -lpthreads Instead of -lpthreads, just use -threads (or -pthread if you upgrade to DU 4.0). The OS version that I have (OSF1 V3.2 41.64 alpha) does not have libthread.a. But is it certain that the presence of libthread.a will solve the problem? Thanks. -rajeev -- ------------------------------------------------------ Rajeev K. Ranjan internet address: rajeev@eecs.berkeley.edu URL: http://www-cad.eecs.berkeley.edu/~rajeev phone no: 510-642-3234 Department of EECS, University of California, Berkeley -----------------------------------------------------