Denis Oliver Kropp wrote:

Quoting Kent Sandvik:

Hi, saw this in DirectFB-0.9.20. The directfb.h file includes dfb_types.h and directfb_keyboard.h as:

#include <dfb_types.h>
...
#include <directfb_keyboard.h>

Now, that works with the -I flag to specify the path to the directfb sub-directory, but if you don't want to use -I (for example, sys-root based cross-compile systems), then the directfb.h file won't pick up the other header files in the directfb/ subdirectory.


I'm familiar with sys-root based cross-compiling. Doesn't it allow -I?

Yes that works, but to have a very 'transparent' cross-compile environment -- with the new sys-root support in gcc 3.3.3 and beyond -- there would be no need to use -I flags as long as things are installed to the sys-root level. The fix above would mostly make things simpler. --Kent





--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.




Reply via email to