[768] in Zephyr_Bugs
Re: Shared library for zephyr
daemon@ATHENA.MIT.EDU (Derrick J. Brashear)
Sat Apr 6 17:26:45 1996
Date: Sat, 6 Apr 1996 17:24:08 -0500 (EST)
From: "Derrick J. Brashear" <shadow+@andrew.cmu.edu>
To: bug-zephyr@MIT.EDU, root@marko.dorm.auburn.edu
For what it's worth, I've been building a shared libzephyr since before
the 2.0 code base under SunOS, no problems. Just because configure
doesn't do it for you doesn't mean it's impossible. Just go into
the directory, remove the .o files, and rebuild with the right flags.
For SunOS, I use:
gcc -fPIC ....
ld -o libzephyr.so.2.1 *.o
As Greg says, it may not be worthwhile; I only did it because my machine
runs the server, zhm, and usually more than one client. That, and I was
obsessed with shared libraries at the time.
-D