On Tue, Mar 23, 2010 at 10:14 PM, Dan Nicholson <dbn...@gm...> wrote:
> On Tue, Mar 23, 2010 at 2:04 PM, Sedat Dilek <sed...@go...> wrote:
>>>We have a hack in the xdemos directory to link the programs with
>>>-lpthread for the same reason (I think). Probably need to carry that
>>>hack to the progs/egl directory for xeglthreads, too.
>>
>> Reasons for the hack in xdemos was linking with binutils-gold.
>> See explanations in [1] concerning X11.
>
> Well, there's also progs/xdemos/glthreads.c, which is directly using
> the pthread API and wasn't previously linking to the library.
>
Remember it again:
glthreads.c required -lpthread while experimenting with binutils-gold.
--
Sedat
|