Hi Andre',

>can I switch between DirectFB multi app and single app by just 
>replacing /usr/lib/libdirectfb* /usr/lib/libfusion* and 
>leaving /usr/lib/libdirect.so & the files in 
>/usr/lib/directfb-1.xx/ the same?

In my experience, it will not work properly because it's possible from some of 
the driver/interface plug-ins may have compile time logic changes based on 
single/multi-app usage.  For example, a graphics driver might have the 
following:

  #if (FUSION_BUILD_MULTI == 1)
  // Do unique multi-app specific needs.
  #else
  // Do unique single-app specific needs.
  #endif

Currently, in our DFB solution our systems driver and graphics drivers have 
such logic.  I see also that the unique WM and SaWMan may have such logic.

>It seems to work in my basic tests, should this be working, is 
>this supposed to work?

I do not believe so.

The way I deal with this is I have our "official" SDK build generate both a 
single-app build and a multi-app build with ALL of the binaries put in either 
/usr/lib/directfb-singleapp or /usr/lib/directfb-multiapp.  Then I create the 
standard/expected lib files and driver/plug-in subdirectory using soft-links to 
the actual binaries in the directfb-singleapp/multiapp subdirectory.

Cheers,
Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group
Intel Corporation
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to