Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to make shared libraries ?
@ 1995-07-20  4:00 T.C. Zhao
  1995-07-21  4:00 ` Jonas Hvarfner
  1995-07-25  4:00 ` George Chaltas
  0 siblings, 2 replies; 3+ messages in thread
From: T.C. Zhao @ 1995-07-20  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-07-25  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-20  4:00 How to make shared libraries ? T.C. Zhao
1995-07-21  4:00 ` Jonas Hvarfner
1995-07-25  4:00 ` George Chaltas

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