Return to BSD News archive
Xref: sserve comp.os.linux:9903 comp.unix.bsd:4967
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!uunet!charon.amdahl.com!amdahl!JUTS!cd.amdahl.com!gab10
From: gab10@cd.amdahl.com (Gary A Browning)
Newsgroups: comp.os.linux,comp.unix.bsd
Subject: Re: Shared libraries - info for 386BSD porting wanted
Keywords: shared 386bsd
Message-ID: <ba6l02Te21lf01@JUTS.ccc.amdahl.com>
Date: 12 Sep 92 06:47:03 GMT
References: <peter.716225737@hilly>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 45
In article <peter.716225737@hilly>, peter@micromuse.co.uk (Peter
Galbavy) writes:
> Due to no response in the bsd group a couple of weeks ago, and the
> fact
> I recently noticed that linux seems to have shared libraries I was
> wondering if whoever knows *lots* about them can either (a) try to
> port
> them or (b) help me port the implementaion across.
I am interested but I would like to know how they implemented them first.
If they implemented the SysV3.2 type of fixed address shared libraries, then
it is not of much use to me. I wanted to share libs for X and I understand
that this would require quite a few mods to the lib sources to work with a
SysV3.2 type of shared library system.
Anybody out in Linux land want to give a quick expanation of the Linux
shared lib implementation?
> I realise that this will not be a trivial operation, but it is a starting
> point.
>
> At minimum, will someone tell me the "minimum working set" of linux source
> files needed to understand how they are implemented. I take it there are
> bits in exec() somewhere ? and the linker etc...
>
> Thanks from a frustrated laptop owner without X386 due to lack of disk
> space.
There should be a rather small minimum X configuration you can set up.
I wanted
to know this for myself anyway and it is on my list of things to do this
weekend. For now, off the cuff, I would say you need:
X386 - The server. Stripped this is only about 1M.
startx - script to start up X.
xinit - program called by startx.
xterm - The terminal emulator.
{fonts} - A very few fonts (I do not know which ones yet).
twm - Or any other window manager.
{resources} - Default resources for xterm amd the window manager.
--
Gary Browning | Exhilaration is that feeling you get just after a
| great idea hits you, and just before you realize
| what is wrong with it.