This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
using threads with gcc on fedora (undefined reference to pthread_create)
- From: "Abid Ghufran" <abid dot ghufran at gmail dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 19 Jul 2006 14:49:18 +0100
- Subject: using threads with gcc on fedora (undefined reference to pthread_create)
I am using thread in my application.
When i try to compile the code, the gcc says that the "pthread_create"
is an undefined reference. I have included the library pthread.h. Is
there something else that i need to do.
What options do I have to use when compiling my code?
Is there any document on this?
thanks,
Abid Ghufran.