Boost logo

Boost :

From: dherring_at_[hidden]
Date: 2007-12-19 15:01:26

On Wed, 19 Dec 2007, Vladimir Prus wrote:
> John Maddock wrote:
>> Rene Rivera wrote:
>>> John Maddock wrote:
>>>> If I do a:
>>>> bjam stage --toolset=msvc-8.0 --with-regex
>>>> Then with 1.35 I don't get any static libraries built, just the
>>>> dll's. Was this a deliberate change somewhere? It's a problem
>>>> because the default for auto-linking is to look for static rather
>>>> than dynamic libraries.
>>> Yes, it was intentional
>>> <>. We also
>>> discussed it at one point
>>> <>. I guess
>>> we
>>> should switch autolink to default to the dynamic libs?
>> If the aim is to reduce the number of variants built, then I would
>> suggest:
>> Dymanic *and* static lib, as Release, multithreaded, dynamic runtime
>> single build on Unix variants (2 build variants).
> I'd be opposed to this. How many popular projects can you name,
> that build two variants on Linux?

Qt does something clever on Linux. Their installed libs look like
lrwxrwxrwx 17 ->
lrwxrwxrwx 17 ->
lrwxrwxrwx 17 ->
-rwxr-xr-x 8227640
-rw-r--r-- 67812225 contains a special ELF section, .gnu_debuglink, that
points the debugger to This way they can install
a "multithreaded release variant", but it points gdb to a file with all
the Dwarf information needed for a "debug variant". Deleting that .debug
file won't hurt people who don't use the debugger.

I haven't taken the time to figure out how they build this, but it looks
like a worthwhile trick.

- Daniel

Boost list run by bdawes at, gregod at, cpdaniel at, john at