From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: [PATCH 06/20] tools: Correct PTHREAD options in config/StdGNU.mk Date: Tue, 20 Mar 2012 16:37:15 +0000 Message-ID: <20120320163715.GA7967@ocelot.phlegethon.org> References: <1331915215-10477-1-git-send-email-ian.jackson@eu.citrix.com> <1331915215-10477-7-git-send-email-ian.jackson@eu.citrix.com> <1332236583.9223.144.camel@zakaz.uk.xensource.com> <20328.43721.947399.31016@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20328.43721.947399.31016@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Roger Pau Monne , "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org At 16:05 +0000 on 20 Mar (1332259529), Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH 06/20] tools: Correct PTHREAD options in config/StdGNU.mk"): > > On Fri, 2012-03-16 at 16:26 +0000, Ian Jackson wrote: > > > It is not correct to say -lpthread. The correct option is -pthread, > > > which may have sundry other effects on code generation etc. It needs > > > to be passed both to compilation and linking. > > > > I guess this is a gcc-ism rather than a Linux-ism and so applies to the > > BSDs too (at least so long as they use gcc and not clang)? Clang also accepts -pthread. Tim.