ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/07/10/07:45:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Georg <dosusb AT googlemail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with pthread
Date: Sun, 10 Jul 2011 04:22:22 -0700 (PDT)
Organization: http://groups.google.com
Lines: 8
Message-ID: <fc2236b2-c5d3-41bc-9df9-e0184d63b6b9@c41g2000yqm.googlegroups.com>
References: <04479084-9c35-4cff-ad2e-f7ada3284871 AT hi9g2000vbb DOT googlegroups DOT com>
NNTP-Posting-Host: 92.250.191.164
Mime-Version: 1.0
X-Trace: posting.google.com 1310297061 25315 127.0.0.1 (10 Jul 2011 11:24:21 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 10 Jul 2011 11:24:21 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: c41g2000yqm.googlegroups.com; posting-host=92.250.191.164; posting-account=v5xbdQoAAAAOGc9Ccc-kLZyobvPlN3Qr
User-Agent: G2/1.0
X-HTTP-Via: 1.1 TAS-4-3.man-a
X-Google-Web-Client: true
X-Google-Header-Order: UALSERCVNKH
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.4)
Gecko/20091016 Firefox/3.5.4,gzip(gfe)
Bytes: 1350
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I found that I have to add -lwatt to the command line to make it
compile:

 gcc -o thread.exe thread.c -lpthread -lwatt

Georg

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019