Re: [Anjuta-list] (Urgent) How to add -lpthread linking option
- From: Erwan Becquet <becquet cnam fr>
- To: Jeremy Johnson <jeremy johnson imtc gatech edu>
- Cc: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] (Urgent) How to add -lpthread linking option
- Date: Fri Sep 5 08:16:32 2003
Jeremy Johnson wrote:
Sorry it this is a duplicate. I'm having some problems w/ my list subscription.
I'm new to Anjuta, Linux development and automake so please have mecy on me.
I'm trying to complete a a C project today that requires pthreads. In order to overcome an unresolved reference to "pthread_create", I've learned that I must give the "-lpthread" option to gcc when linking.
Unfortunatlely, I'm having trouble determining where in Anjuta and/or the complex Makefiles it produces I should add the "-lpthread". Would someone be so kind as to clue me in?
Eternal thanks,
Jeremy
N???ÞµéX???'???u???)??Y?\?g?????????Á¿??b?HzG(??xb?Ù?X??X?? ?Ö¥??e??l???q???z?m????X???(??~??zw??X?????b???jxbst==
Just go to Parameters->Compiler & Linker Settings->Libraries and
Add pthread.
It should be ok.
@++. Erwan.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]