Subject: lib{m,gcc}.so.?.?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Dirk Steinberg <steinber@vercingetorix.ert.rwth-aachen.de>
List: current-users
Date: 02/04/1994 12:33:37
Hi,

is there any special reason (am I missing something obvious?) why
there is no libm.so.0.0 and libgcc.so.0.0? I build these by commenting
out the NOPIC= line in the respective Makefiles and copying a
shlib_version file to these dirs.

I also compiled and linked a few progs with these, and everything
works just fine:

root@porty:p0 /etc # ldd /usr/src/bin/ps/ps
/usr/src/bin/ps/ps:
        -lm.0 => /usr/lib/libm.so.0.0 (0x10020000)
        -lkvm.0 => /usr/lib/libkvm.so.0.0 (0x1002a000)
        -lgcc.0 => /usr/lib/libgcc.so.0.0 (0x10031000)
        -lc.4 => /usr/lib/libc.so.4.0 (0x10035000)

I also noticed that these libs were present in FreeBSD. So what's the
deal? Are people afraid of runtime linking overhead? So am I, but
thats inherent to the scheme used (that's why I prefer the Linux
solution: much faster when you have many large libs).

	-- Dirk

-----------------------------------------------------------------------------
Dirk W. Steinberg - RWTH Aachen - Internet email: steinber@ert.rwth-aachen.de
Aachen University of Technology / IS2-Integrated Systems in Signal Processing
Rhein.Westf.Tech.Hochsch. Aachen / Integrierte Systeme der Signalverarbeitung
Templergraben 55 / D-52056 Aachen / phone:+49 241 807879 / fax:+49 241 807631
Home address: Kleikstr. 63, D-52134 Herzogenrath,Germany/phone: +49 2406 7225

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