[Nix-dev] pthread

Petr Rockai me at mornfall.net
Fri Jan 31 22:30:32 CET 2014


Vladimír Čunát <vcunat at gmail.com> writes:

> On 01/31/2014 02:38 PM, Marco Maggesi wrote:
>> Which derivation contains pthread?  Is it in gcc?

libpthread is part of glibc (and is pthread.h)

> You don't need to add anything. I think just specifying -pthread or -lpthread
> when linking does the thing.

Yes, but the app probably already does that. The error might be
completely unrelated to pthread itself, might be just the first test
where it tries to run a compiler and something goes awry.

Petr

-- 
id' Ash = Ash; id' Dust = Dust; id' _ = undefined


More information about the nix-dev mailing list