Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: zhao@bloch.phys.uwm.edu (T.C. Zhao)
Subject: How to make shared libraries ?
Date: 1995/07/20	[thread overview]
Message-ID: <3ukf4i$903@uwm.edu> (raw)

Wondering how to make a shared library. cc does not seem
to have the usual -PIC or some other telling flags. The ld man page 
mentioned using -shared would make a shared object 
(ld -shared -o libx.so *.o) , tried that, but when attempting to compile 
and link a program using the shared object, everything
seems ok, but when run, loader complains unable to mape the shared
library. Confused.

Any help would be appreciated.


-- 
                            |     I am Pentium of Borg.
T.C. -- Starving Physicist  |     Division is futile.
                            |     You will be Approximated.



             reply	other threads:[~1995-07-20  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-20  4:00 T.C. Zhao [this message]
1995-07-21  4:00 ` How to make shared libraries ? Jonas Hvarfner
1995-07-25  4:00 ` George Chaltas
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox