This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
cross compiling pthread
- From: "Arnaud Le Bec" <arnaud dot lebec+gcc at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 4 Apr 2007 23:01:18 +0200
- Subject: cross compiling pthread
- References: <951708dd0704041359y2a396229r7c6b8696ef70f91@mail.gmail.com>
Hi,
I have problems compiling with my mips toolchains (binutils 2.16.1 +
gcc 3.4.6 + glibc 2.3.6 & linuxthreads + linux 2.4.33.7) :
$ mips-unknown-linux-gnu-gcc a_test.c -o a_test -lpthread
/opt/cross/lib/gcc/mips-unknown-linux-gnu/3.4.6/../../../../mips-unknown-linux-gnu/bin/ld:
cannot find -lpthread
collect2: ld returned 1 exit status
Can you help me ?
Thanks.
______
Arnaud