Hi, why? --prefix etc is the prefix you want on the _target_, during make install you just set DESTDIR=<target_root> appropriately. And if your toolchain is configured correctly, it will find the headers+libs for compiling apps against that version of DirectFB. So I'd say if that is not working, you have an incorrectly configured cross compiler.
Cheers, Andre' On Sun, 2010-05-23 at 18:34 +0400, Niels Roest wrote: > Hi Ariel, > > the easiest is to make the paths the same on host and target, e.g. > /opt/local, and instruct your runtime loader to look there, i.e. add the > path to /etc/ld.conf.d/ . I believe this is a limitation of the linux > configure-make-make install triplet. > > Greets > Niels > > Ariel segal wrote: > > Hi, > > I cross compiled and installed DirectFB on my host computer. In order > > to link it to my embedded application, I mount the directory of > > DirectFB on my linux embedded target with NFS. > > My problem is, that the path to DirectFB that the target sees is not > > the path I have installed to, with the argument 'prefix' passed to > > 'configure', and the loader 'ld.so' does not find DirectFB. > > How should I configure the build such that on runtime the loader will > > search the new path? > > > > Thanks, > > Ariel > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > directfb-users mailing list > > [email protected] > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > > _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
