This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cross compiling pthread


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]