qixinrenzz,

Moving your comments here from the STR (#2866) as this is a more appropriate 
place for the discussion that is taking place.


> I explain the details, that is I want to use some embedded GUI
> for development, this GUI need have such features:

This should be fine, I have used fltk on small embedded systems with adequate 
results!

You maybe need to clarify more what your h/w platform is. In particular the 
configure line you posted was disabling X11, yet you seem to be using X11... so 
I am confused what you are actually doing...


> 1. small. I only need label and text, other controls need be
> cutted off to meet our hardware(It's only 8M). The FLTK library
> was built to 1.3M on my ubuntu 12.04 wmware, can it builds to be
> smaller than 1M? If it can be, can you tell me the step?


Do not link dynamically to the fltk lib, only link statically, then strip your 
executable. This will result in a binary that does not need the full library at 
all, but only links in the parts you are actually using.
This makes the binary blob that you have to distribute as small as is possible.


> 2. fast. because the hardware is too slow, GUI should not take too
> much time.

It has always been fast enough for me, even on very feeble hardware. What 
platform do you actually have?

> The time I tested is as this: I built the text/button.c,
> and test the button on ubuntu 12.04 with 1G memory and 
> CPU(intel cpu g630, 2.70GHZ).
> I add two test: Test New control(That is new window and 
> and 3 buttons): cost 1ms; Test show window(window->show() 
>method): cost 200+ms):

Hmm, I can't reproduce your timings - I'm taking a look at your code on a Linux 
test system here (RHEL 5, but close enough...) to see if I can see what you are 
seeing...



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to