Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 23:30:38 -0600
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Libraries with threading and debugging support
Message-ID:  <20040219233038.34289cb6.shurd@sasktel.net>
In-Reply-To: <40322A0A.6010003@ciam.ru>
References:  <20040217130408.GC74292@zi025.glhnet.mhn.de> <40322A0A.6010003@ciam.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Feb 2004 17:49:46 +0300
Sergey Matveychuk <sem@ciam.ru> wrote:

> > - I am not too sure about threading support: Should I install extra
> >   multi-threaded versions of the libraries, e.g.
> >   lib<library name>-mt.so.<#> and lib<library name>-mt.a, or should I
> >   install the instead of the single-threaded ones (like in the
> >   release vs. debugging version case)?
> 
> IMHO special builds of a single-threaded unnecessary for users. But you
> can give them once more option.
> 
> I've tried to take into account all user's wishes in my devel/opentop,
> but it became quite tricky although.

Actually, I'm running into a similar canundrum... a port I'm working on
(Well, actually a project I've been working on for a couple years now)
uses the Mozilla SeaMonkey JS library.  The port (A classic style BBS
package with real internet integration - http://www.synchro.net) is
heavily threaded... and needs the threaded version of the SeaMonkey
library.  Currently the only port I'm aware of that builds this is
mozilla* itself.  Unfortunately, you can NOT use the threaded version
of the lib rather than the unthreaded one if the program was written
for the unthreaded lib... the APIs differ.

Is -mt the "correct" way to install the libs?  Should there be one
port that does both?  Two separate ports?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040219233038.34289cb6.shurd>