Re: Size of Gtk Libs ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Flavio Alberto Lopes Soares wrote:

Hello all,

I have a program made with gtk-1.2 in Linux (Now I'm drawing the
interface of a new version using gtk2.0) and this system will run in a
Industrial PC (no hard disk, I believe 128MB FlashDisk) with only this
application (and X basics), no needs WindowManager, nothing, only X and
basic Linux system, I need to know what the minimal libraries to run my
system and your size.


I've used RH-7.3 as a base on such machine (with 128MB flash). System with gtk+-2.0.4, XFree86, ssh, etc was about 40MB.
By the way - dont use gnome libs (they are pretty fat), if your prog dont need them.


I developing using Debian SID but I believe that I can do a minimal
system using Debian Stable.

Using ldd I look the libraries that my program use (is this correct ?),
if I do a minimal system and copy these files + X (more config files) to
this system I can run my program (ONLY my program) ?

Ldd is not enough in many cases, decide what you need - choose packages, learn them, try to remove parts you dont need and test what you get. The most space is used by glibc and XFree86. Remove unused locales, fonts, libraries and drivers.

flavio@flavio:~$ ldd /usr/local/bin/ihmserial
               libgnomeui.so.32 => /usr/lib/libgnomeui.so.32
(0x40030000)
       libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x4010f000)
       libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x4011f000)
       libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40143000)
       libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4014c000)
       libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40163000)
       libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40281000)
       libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x402b4000)
       libdl.so.2 => /lib/tls/libdl.so.2 (0x402b8000)
       libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x402bb000)
       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402c3000)
       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402d1000)
       libgnome.so.32 => /usr/lib/libgnome.so.32 (0x40398000)
       libgnomesupport.so.0 => /usr/lib/libgnomesupport.so.0
(0x403b1000)
       libesd.so.0 => /usr/lib/libesd.so.0 (0x403b7000)
       libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x403c0000)
       libm.so.6 => /lib/tls/libm.so.6 (0x403e4000)
       libdb3.so.3 => /usr/lib/libdb3.so.3 (0x40407000)
       libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x404a4000)
       libc.so.6 => /lib/tls/libc.so.6 (0x404c5000)
       libpopt.so.0 => /lib/libpopt.so.0 (0x405ff000)
       libz.so.1 => /usr/lib/libz.so.1 (0x40607000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
       libasound.so.2 => /usr/lib/libasound.so.2 (0x40618000)
       libpthread.so.0 => /lib/tls/libpthread.so.0 (0x406c4000)
flavio@flavio:~$

some reference (links, books, etc) will be thankfull

Thanks for any help.
Excuse-me for my bad english

Olexiy

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux