Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 17:49:46 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        Simon Barner <barner@in.tum.de>
Cc:        ports@FreeBSD.org
Subject:   Re: Libraries with threading and debugging support
Message-ID:  <40322A0A.6010003@ciam.ru>
In-Reply-To: <20040217130408.GC74292@zi025.glhnet.mhn.de>
References:  <20040217130408.GC74292@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Barner wrote:

> - Install both a shared and a static version (like other ports do)
>   (naming scheme lib<library name>.so.<#> and lib<library name>.a, as
>   described in [2])

I think it's a good practice. But you can ask user if static library 
need (WITH_STATIC=yes).

>   
> - If the user requests the debugging version, skip the build of the
>   release version and install the debugging-enabled libraries instead
>   (with the same naming scheme)

IMHO you make a decision as port maintainer.

>   
> - 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.

-- 
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40322A0A.6010003>