delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Rugxulo <rugxulo AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problem with pthread |
Date: | Sun, 10 Jul 2011 06:26:49 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 17 |
Message-ID: | <8e0d2b15-2978-4e19-adca-13d6fe7fadb4@q1g2000vbj.googlegroups.com> |
References: | <04479084-9c35-4cff-ad2e-f7ada3284871 AT hi9g2000vbb DOT googlegroups DOT com> |
<fc2236b2-c5d3-41bc-9df9-e0184d63b6b9 AT c41g2000yqm DOT googlegroups DOT com> | |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1310304833 6391 127.0.0.1 (10 Jul 2011 13:33:53 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Sun, 10 Jul 2011 13:33:53 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | q1g2000vbj.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO |
User-Agent: | G2/1.0 |
X-Google-Web-Client: | true |
X-Google-Header-Order: | UHALERCNK |
X-HTTP-UserAgent: | Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.50,gzip(gfe) |
Bytes: | 1837 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p6ADj10X019782 |
Reply-To: | djgpp AT delorie DOT com |
Hi, On Jul 10, 6:22 am, Georg <dos DOT DOT DOT AT googlemail DOT com> wrote: > > I found that I have to add -lwatt to the command line to make it > compile: > > gcc -o thread.exe thread.c -lpthread -lwatt Also keep in mind that (for some reason) /beta/pth207b.zip is hard to build and apparently was (accidentally?) built for 686+ (though / current/ 's version has no such requirement). You may also wish to try FSU Pthreads, it doesn't need Watt-32. It was successfully used by Khusraw for his recent compile of p7zip 9.13: ftp://ftp.sac.sk/pub/sac/pack/p7z913.zip
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |