>
> > 1. How much RAM is used at run-time by the FLTK library ?
>
> That entirely depends on what widgets you use, and how many of them -
> the recommended method to use fltk in an embedded app (well, any app,
> really) is to link statically and then strip the binary, so you only end
> up with the parts that are actually used, and no other overhead.
>
> But, unless you know which widgets, and how many, you are going to use,
> it is impossibly to say how much that will be. The per-widget overhead
> in fltk is really small though, only a few tens of bytes.
>
> > 2. How much space on Flash is needed by the FLTK library ?
>
> See answer to (1) above. Do not use dynamic linking or shared objects,
> link the app statically and strip it. That gets you the smallest
> footprint as you are only loading the bits you actually need.

Thank you for your answer.

My product has to be "customizable". In practice, I build the basic firmware, 
then the customers will build their own applications. Therefore, all the 
possible FLTK widgest must be present in the filesystem.

In this case (i.e., library compiled with all widgets) can you tell me the size 
required by the FLTK library on Flash and RAM ? I don't need the exact value: 
an estimation is ok.

[ As I said, I have very strict constraints on space (RAM and Flash), so I'm 
afraid FLTK won't fit into the memory... ]


>
> > 3. Does FLTK work on framebuffer ?
>
> There is a port of the 1.1.x series for framebuffer use, but the core
> fltk does not.
>
> > 4. Does FLTK support DirectFB ? If so, which version of FLTK=20
> > supports which version of DirectFB ? (I heard that the=20
> > DirectFB support is not available on the most recent version=20
> > of FLTK...)
>
> It is not "officially" available with any version of fltk, but as I say,
> there are ports around that do work.
> You do lose some functionality however - for example I don't think the
> FB version has GL support, that sort of thing.
>
> Can you not just run tiny-X/kdrive? That ought to fit on your target and
> is compatible enough that X apps Just Work without messing about with
> frame buffer support and so forth.
> Works fine on my OMAP demo board at any rate, which doesn't have *that*
> much more memory...

How much memory do you have ?

4MB of Flash seems too small to contain U-Boot + Linux + Filesystem with kdrive 
+ fltk... but I may be wrong (and I hope so)

Many thanks,

           Claudio
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to