Libraries with threading and debugging support
barner at in.tum.de
Tue Feb 17 05:04:13 PST 2004
I am currently working on the devel/boost port, but my question is more
general and I could not find any policy statement in the documentation.
How should one handle different versions of the same library, i.e.
debugging and release version of the library, single and multi-threaded
The boost library by default installs every possible combination, i.e.
up to 8 if one also considers shared vs. static libraries.
To my mind, this is quite a lot, so I had the following thoughts:
- 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 )
- 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)
- 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)?
Any comments are very appreciated, since I'd really like to unbreak the
port on 5.x.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040217/cac9c8f1/attachment.bin
More information about the freebsd-ports