On Fri, 2007-08-03 at 10:29 -0400, Tony Maro wrote:

> On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: 
> 
> > 
> > If you're cross-compiling, you need the target libraries at hand and 
> > specify the path with -Fl, then add -Xr with the path of the libraries 
> > on the target, e.g.:
> > ppcarm -Fl/directory/with/target/libraries 
> > -Fl/other/directory/with/target/libraries -XParm-linux- -Xd 
> > -Xr/lib:/usr/lib test.pas
> > 
> 
> 
> Aha!  I've copied the /lib directory off the device and onto my
> desktop.
> 
> It still wouldn't find it.  There was no link from libpthread.so to
> libpthread.so.0.  I made that link and it worked.
> 
> If I do this, is the app going to require those .so links to .so.0 on
> the device?  If so that's a problem... is there any way around this?


On that note, it still won't find libglib.  On the device is only
libglib-2.0.so so I assume ppcarm is trying to link to libglib-1.2 or
some such...

Reply via email to