I am trying to figure out what needs to be changed in configuration to support cross compilation.
Looking at config.status s%@DIRECTFB_CFLAGS@% -I/usr/local/include %g s%@DIRECTFB_LIBS@% -L/usr/local/lib -ldirectfb -lpthread -ldl %g Where is the "/usr/local" coming from? I have noticed that the configuration for DirectFB and the example code does not differentiate between the 'host prefix' and the 'target prefix'. When cross compiling you normally create a staging directory on your host system. You then install all your code into that host based staging area Setting --prefix=/dfb/usr/local will code that path into the libraries and executables. Where the real goal is to use "/usr/local". Also notice how DATADIR is used by the sample code... It is based off prefix. At first glance I thought 'DESTDIR' was the solution to my problems but I have not been able to figure out how to use it. Thanks for your consideration. -- Scott A. McConnell -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
