<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Spread-users] use a static lib, get rid of .so?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Theo Schlossnagle wrote:<BR>
> You are getting the shared library as that is your linkers<BR>
> default.<BR>
<BR>
i was not aware of that. presenting libspread.a to the linker directly without the use of the -l parameter would require substantial modification to our complicated build system, so i just deleted the .so versions of the spread library, which fixed the problem. thanks!<BR>
<BR>
> We have several apps on our systems that utilize Spread. And<BR>
> when I roll a new release of the Spread libraries onto the system<BR>
> (to fix a bug to compatibility issues) I _do not_ want to have to<BR>
> recompile every single app that links against it.<BR>
<BR>
not everybody's setup is the same as yours. in my case, i have only two apps that will use spread. our hundreds of machines all load those two apps from a single shared nfs volume, so there is only a single copy of each app in existence. rebuilding those two apps in only one place is a lot easier for me than installing new libs on hundreds of machines.<BR>
<BR>
as long as i've got you guys on the line, i've got another question. after deleting the .so versions of the lib and the symlinks, i'm left with these:<BR>
<BR>
libspread.a<BR>
libspread-core.a<BR>
libtspread-core.a<BR>
<BR>
my spread-using apps are currently single-threaded, but they may become multi-threaded in the future. shouldn't there be a libtspread.a to link against? what's the right thing to link against for multi-threaded programs?</FONT></P>
<DIV><P><HR>
********************************************<BR>
This message is intended only for the use of the Addressee and<BR>
may contain information that is PRIVILEGED and CONFIDENTIAL.<BR>
<BR>
If you are not the intended recipient, you are hereby notified<BR>
that any dissemination of this communication is strictly prohibited.<BR>
<BR>
If you have received this communication in error, please erase<BR>
all copies of the message and its attachments and notify us<BR>
immediately.<BR>
<BR>
Thank you.<BR>
********************************************
</P></DIV>
</BODY>
</HTML>