Skip to Content.
Sympa Menu

baslinux - [BL] Which is Smaller, X or Svgalib?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] Which is Smaller, X or Svgalib?
  • Date: Wed, 7 Mar 2007 18:54:10 +0000

In order to compare X and Svgalib, I guess we have to
start by specifying what we want from each of these
platforms

Let's start with the basics, an image viewer and an image-manipulation
app. In my case, they are one and the same (Xv).

This is a Glibc2 version of BL3, and both the TinyX server and Xv
work with libc5. 1240K (glibc2) - 608K (libc5) = 632K

libX11: 804K (glibc2) - 580K (libc5) = 224K

632 + 224 = 856K

No window manager is needed for this application, just the xserver.

Since non-X graphical solutions don't include a window manager, this makes
the comparison more fair.

All figures except the grand totals are in KB. Shared libs have only been
included where they occur in the dependencies for Xi810.

Xi810 947
----------

ldd `which Xi810`

libz.so.1 => /lib/libz.so.1 (0x40017000)

61

libm.so.6 => /lib/libm.so.6 (0x40028000)
174

libpam.so.0 => /lib/libpam.so.0 (0x4004b000)

31

libdl.so.2 => /lib/libdl.so.2 (0x40053000)
12

libpam_misc.so.0 => /lib/libpam_misc.so.0 (0x40056000)
9

libc.so.6 => /lib/libc.so.6 (0x40059000)

1409

libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x4018c000)

218

/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

661


xv 874
-------

ldd `which xv`


libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40017000)

804

libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400df000)

113

libtiff.so.3 => /usr/lib/libtiff.so.3 (0x400fc000)

282

libpng.so.3 => /usr/lib/libpng.so.3 (0x4013d000)

186


------------------------------------------------------------------------

5.564 MB Total (glibc2)

------------------------------------------------------------------------

minus 856K = 4.708MB (libc5)

Now let's hear from the non-X side.

Lee






Archive powered by MHonArc 2.6.24.

Top of Page