[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Microblaze C++ pthreads linking problems



Hello,
 
I'll try that tomorrow. It seems to work if i don't use the -lpthreads flag, but instead use
 
LIBS=libpthread.a
 
in the makefile. 
 
Very strange,
 
Thanks a lot for your help !
 
/Otto
----- Original Message -----
Sent: Sunday, April 27, 2008 11:58 PM
Subject: RE: [microblaze-uclinux] Microblaze C++ pthreads linking problems

Hi,
maybe just try to put -lpthread more behind as last argument for gcc.
Otto Blomqvist wrote:
Hello All,
I am trying to build a mixed C / C++ application. Problem is that microblaze-uclinux-g++ does not seem to find the pthreads library even though I added -lpthreads to the LDFLAGS.
Before spending days trying to figure out what's going on I'd like to make sure that this is even supposed to work. If so, any ideas on what the problem could be ..?