[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 06/20] tools: Correct PTHREAD options in config/StdGNU.mk



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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.