Michele wrote
> Hello,
>
> I'm a quite new user of foxboard and I have a little problem with
> linking of my apps. I wrote a c++ application that uses pthreads and
> so on and if I try lo run it on the fox I got a message about a
> missing library. If I use statica linking I got no errors but the app
> size grow up to 1400kb. There's a way to include the needed libraries
> into fimage?
>   
After successful making of the fimage with
 > make
copy your dynamic linked binaries into the target tree e.g.
devboard-R2_01/target/cris-axis-linux-gnu/usr/bin/your-application
delete the already made image files
rm {flash1.img,flash2.img,fimage}
and then run
make fimage

At the beginning you will see
 >> Including needed shared library files
here the make script is checking which libraries have to be included.


I hope this works for you.

Bye

Reply via email to