Passing -pthread while compiling a trivial program does not work: [EMAIL PROTECTED]:~$ gcc -pthreads test.c gcc: unrecognized option '-pthreads'
Looking at bug 20705, it seems -pthread should be supported. -- Summary: LIB_SPECS lacks pthread Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mbanck at debian dot org GCC build triplet: i386-pc-gnu GCC host triplet: i386-pc-gnu GCC target triplet: i386-pc-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28838