Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-08-24 08:14:05

Toon Knapen wrote:

>> Excellent. Hopefully we've done with handling that messy
>> order-sensitivity on Unix system now.
> Hope so too. I'm switching to v2 because you suggested me some time ago
> that ordering control is much better as in v1 ... and it is !

Ok, so my advertiement was correct.

> However what do you mean with _messy_ order-sensitivity. Why do you
> think it is messy ?

I generally believe that non-obvious order sensitivity is bad. If "-la -lb"
means something different from "-lb -la", it's non-obvious. I've seen a lot
of folks type

gcc -o hello -lm hello.o

and then wonder why math function are not found. Yes, the order sensitivity
can be handy when one library wants to override symbols from the other.
That is, if two libraries define function 'userinit', then the first
definition is used. But such cases are not common and could be solved with
explicit mechanisms. Anyway, that's just philosophical ideas of mine, so
don't take them too seriously.

- Volodya


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