eric wrote: >> MacArthur, Ian (SELEX) (UK) schrieb: >> >>> Alternately, use strip at the command line, as: strip <my_app_name> >>> >>> There are many complex things you can do to strip certain parts of the >>> symbolic information and not others, but those simple options are enough >>> for most uses. > I have read some replies to the question about "the size of fltk's lib", > but no one has talked about the key problem. I mean the the size of fltk's > lib, but not the size of apps. FLTK is a fast light GUI, but its lib is still > more than 700k, after using strip, the size is still more than 400k. > MY question is: > "Is there any poosible methods to customize FLTK to make its library > smaller or lighter?"
We don't have any specific configure options for making a super- stripped-down version of the library. If you link statically, you won't pick up all of the symbols from the library, just what your apps use. Compiling without xft, xinerama, and xdbe will also reduce the library size slightly. You can also hack the src/Makefile to only include the widgets you actually use (for a shared library install), but this likely won't save you much since most FLTK widgets are lightweight subclasses of base widgets... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com Internet Printing and Publishing Software http://www.easysw.com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

