× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Requiring glib. Problem?
  • From: "Jason M. Felice" <jfelice@xxxxxxxxxxxx>
  • Date: Thu, 25 May 2000 09:11:00 -0400
  • Organization: Cronosys, LLC

Scott Klement wrote:
> 
> I use tn5250 on a couple of machines that are just too old and slow to
> run X (486sx-25 & slower, 8mb RAM).  If glib became a requirement, would I
> then need to have X installed on these machines?
> 
> Also, its been discussed many times that it'd be nice to have a "emulator
> on a floppy" wouldn't the extra size of glib make this impossible?
> 

glib doesn't require X.  It's really just a library of useful things,
like
a nice generic hash table implementation and some nice generic linked
list
implementations, some sophisticated memory management techniques, etc.

About booting from floppy...  Let's see:

[jasonf@eraserhead jasonf]$ mkdir /tmp/slime
[jasonf@eraserhead jasonf]$ cd /tmp/slime
[jasonf@eraserhead slime]$ cp -ap /usr/lib/libglib* .
[jasonf@eraserhead slime]$ ls -l
total 833
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib-1.2.so.0
-> libglib-1.2.so.0.0.7
-rwxr-xr-x    1 jasonf   jasonf     164253 Feb  4 13:42
libglib-1.2.so.0.0.6
-rwxr-xr-x    1 jasonf   jasonf     427965 May 18 17:26
libglib-1.2.so.0.0.7
-rw-r--r--    1 jasonf   jasonf     194212 Feb  4 13:42 libglib.a
-rwxr-xr-x    1 jasonf   jasonf        651 May 18 17:26 libglib.la
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib.so ->
libglib-1.2.so.0.0.7
lrwxrwxrwx    1 jasonf   jasonf         16 May 25 08:47 libglib.so.1 ->
libglib.so.1.0.6
-rw-r--r--    1 jasonf   jasonf      57474 Aug 13  1999 libglib.so.1.0.6
[jasonf@eraserhead slime]$ rm -f libglib-1.2.so.0.0.6 libglib.a
libglib.la libglib.so.1 libglib.so.1.0.6
[jasonf@eraserhead slime]$ ls -l
total 421
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib-1.2.so.0
-> libglib-1.2.so.0.0.7
-rwxr-xr-x    1 jasonf   jasonf     427965 May 18 17:26
libglib-1.2.so.0.0.7
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib.so ->
libglib-1.2.so.0.0.7
[jasonf@eraserhead slime]$ strip libglib-1.2.so.0.0.7
[jasonf@eraserhead slime]$ ls -l
total 131
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib-1.2.so.0
-> libglib-1.2.so.0.0.7
-rwxr-xr-x    1 jasonf   jasonf     132348 May 25 08:48
libglib-1.2.so.0.0.7
lrwxrwxrwx    1 jasonf   jasonf         20 May 25 08:47 libglib.so ->
libglib-1.2.so.0.0.7
[jasonf@eraserhead slime]$ ldd libglib-1.2.so.0
        libc.so.6 => /lib/libc.so.6 (0x40029000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[jasonf@eraserhead slime]$ gzip <libglib-1.2.so.0.0.7 > slime.gz
[jasonf@eraserhead slime]$ ls -l slime.gz
-rw-rw-r--    1 jasonf   jasonf      53316 May 25 08:49 slime.gz
[jasonf@eraserhead slime]$ 

So it would take up approximately 53K on a compressed boot disk image,
and it
doesn't require any libraries other than the C runtime library and the
linux
loader.  I could make that work, no sweat.  Hell, I probably have room
left for
GTK+ and TinyX ;-), and you wouldn't need a window manager if you're
only running
one program.  (If you play your cards right with compression and kernel
size, you
can about a three megabyte root filesystem on a floppy).

-Jay 'Eraserhead' Felice
(jfelice@cronosys.com)
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.