On 08/11/11 12:39, Sven Neumann wrote:
> Hi,
> 
> I tried to update our build to DirectFB 1.4.14 today and
> cross-compilation failed because there's a new tool in the flux
> directory that needs a toolchain with C++ support. While it would not be
> impossible to add C++ support for our target, I would rather like to
> avoid that and I would like to understand what this tool is used for.
>
> As far as I can see it generates code. Is is being during the build of
> DirectFB itself or is it only provided as a tool for application
> developers?
> 
> In any case the build of this tool needs to be made configurable.
> Otherwise it will be impossible to integrate the DirectFB source into a
> cross-compilation tool-chain.
> 
> Could someone please shed some light on this and explain what this tool
> is used for? I can try to come up with patches then.

Flux is used to generate proxy/stub code for the IPC used in the new
secure fusion multi app mode. Is there really an issue with C++ or would
it be enough if we get rid of the C++ lib?

At the moment cross-builds work fine from tar balls as the files are already
generated. But flux should be moved out of the DirectFB package to have it
build as a host tool beforehand.

For single app we could avoid the C++ code more easily, and even for multi
app we could make a flux version that uses C only (in the generated code).

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to