If your stuck using gtk, then you may want to look at libopt:
http://libraryopt.sourceforge.net/

You'll have to setup config files for each library you want to optimize, but 
once
you have it all setup, libopt can be used to examine your entire target 
filesystem
and remove any unsed symbols from the libraries you configured.

Unless your using gimp or some other gtk app that makes use of every single gtk
feature, then you should get a pretty good reduction in size.


Ryan


-- 
Ryan Burns <[EMAIL PROTECTED]>
MontaVista Software, Inc.




On Fri, 7 Apr 2006 02:53:23 -0700
"David C. Jedynak" <[EMAIL PROTECTED]> wrote:

> With uclibc, I created a gui that was about 900Kbytes, compiled static for 
> arm.
> My images + fonts took up another 100kbytes.
> 
> This was including jpeg, png, and freetype support. 
> 
> This original program was done with GTK+DirectFB, and took around 10MB. It was
> completely re-implemented in DirectFB only, and ran about 5 times faster, and
> started up in about 2-3 seconds, whereas the original took 30-60 seconds
> depending on other system loading (playing audio, for example, while gui was
> initializing). This was on an ARM9 running at 150MHz (OMAP5910 with offboard
> EMIFS attached epson s1d13506 graphics controller, with ~640x480 GUI).
> 
> I would strongly recommend not using GTK for perfomance / space constrained
> embedded apps, despite its ease of rapid development.
> 
> -David
> 
> > -----Original Message-----
> 
> > From: [EMAIL PROTECTED] 
> 
> > [mailto:[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> ] On Behalf Of Readon Shaw
> 
> > Sent: Friday, April 07, 2006 2:37 AM
> 
> > To: directfb
> 
> > Subject: [directfb-dev] problem with directfb on embedded system.
> 
> > 
> 
> > 
> 
> > I want to get a stable and powerful GUI for our 
> 
> > embedded system. I am trying GTK+DFB, but the library is too 
> 
> > large, about 10 MB to operate with the instuction of 
> 
> > http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectF
> > <http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectF> 
> 
> B. Is there some articles that makes the program take less disk space?
> 
> Readon Shaw
> 
> [EMAIL PROTECTED]
> 
> 2006-04-07
> 
> _______________________________________________
> 
> directfb-dev mailing list
> 
> [email protected]
> 
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> <http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev> 
> 
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to