Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-08-25 08:57:22

Vladimir Prus <ghost_at_[hidden]> writes:

> On Thursday 24 August 2006 20:21, David Abrahams wrote:
>> >> 1. In what language is "sa" supposed to evoke "shared"?
>> >
>> > Is this a rethorical question?
>> It was needlessly sarcastic. I'm Sorry. "sa" doesn't evoke "ShAred"
>> any more than it evokes "StAtic" for me.
>> >> 2. Why are there two separate features? All the linkers I know just
>> >> support -l<whatever> and don't make a distinction.
>> >
>> > They were added back then when I though it's possible to reliably
>> ^^^^^^
>> "thought?"
>> > request specific flavour with gcc.
>> Is it possible?
> Not in the most reasonable way. It's possible to say "only static version for
> this library, please", but it's not possible to say "only shared version for
> this library".
> So basically selecting the type of library is not possible.

If static and shared are both available, doesn't the system pick
shared unless otherwise instructed? If that's the case, selecting the
type of library is possible. The only thing that's not possible is
issuing an error when the user specifies a shared library and only a
static library exists. Instead the target will silently be built with
a static library.


Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at