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: "Fred Zwarts" Subject: Re: pthreads Date: 2000/04/26 Message-ID: <8e66uc$mk8$1@info.service.rug.nl>#1/1 X-Deja-AN: 615811567 Content-Transfer-Encoding: quoted-printable References: <8e63fa$d6k$1@news.cc.ukans.edu> X-Priority: 3 Content-Type: text/plain; charset="Windows-1252" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: newsmaster@rug.nl X-Trace: info.service.rug.nl 956735244 23176 129.125.15.113 (26 Apr 2000 07:47:24 GMT) Organization: Kernfysisch Versneller Instituut X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 26 Apr 2000 07:47:24 GMT Newsgroups: comp.unix.osf.osf1 "Harish" wrote in message = news:8e63fa$d6k$1@news.cc.ukans.edu... > Hi, >=20 > I would like to know if it is possible to port a code which uses > pthreads to OSF1 V4.0 alpha ? >=20 > I have an application in which I include pthread.h. I am able to=20 > compile and run this application successfully on Linux, SunOS and > OpenBSD. I would like to port this also to OSF1. Is this possible ? >=20 > Some error that I get >=20 > In file included from /usr/local/lib/gcc-lib/alpha-dec-osf4.0d/2.8.1/ > include/pthread.h:333, > from app.c:282: > /usr/include/c_asm.h:193: parse error before `asm' >=20 > Thanks >=20 > - Harish >=20 Yes, I use pthreads. Do you use the correct compiler flags? I compile with=20 cc -pthread -std1=20