[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: porting lpthread.so to BT board
pthreads should work, just add -lpthread to your linker flags. I think adding
-pthread to your compiler flags works too.
If you are using the pthreads library dynamically, you may find an error becuase
this library doesn't show up in the flashimage by default. There are two ways
to get the library onto the board:
1) run "make install" in your application directory to install the application
into the target image. when you run "make images" it will figure out that the
library needs to be added.
2)copy the library from "usr/local/cris/lib/gcc-lib/cris/2.96/linux" to
"files/usr/lib" under your devboard directory. then in the Makefile add the
file path to the LOCALS section. then run "make files" and "make images" in the
topdir to add the file to the /usr/lib directory of the rom image.
read the section on the website on "How to use the Top-Level make file.
hope that helps,
> "Aneesh M. Raj" wrote:
> Hi All,
> Im using the axis BT development board. Can anyone tell me whether pthread
> support is there for the BT board. If so how can I port the pthread shared
> object for ETRAX. Im also facing another problem, I can't transfer the kernel
> image to the BT board through ./ktest .My system hangs showing message
> "starting boot...", My system and the board are on the same network , I have
> verified the network.conf file and confirmed that the configurations are
> correct. Im using debian GNU\linux. However i was able to transfer my
> application through Ftp.
> Any help is appreciated.