Boost logo

Boost-Build :

From: Tomas Puverle (Tomas.Puverle_at_[hidden])
Date: 2006-06-19 15:23:35


> So, do we have a command line that works everywhere?

On SunCC, use -Bstatic <archives> -Bdynamic.
On gcc, use -Wl,-Bstatic <archives> -Wl,-Bdynamic.

The runtime libs can come after the last -Bdynamic, and you can have as
many pairs of these as you want.

Of course, boost.build needs to worry about keeping the order of
dependencies correct, especially if dynamic libs/archives depend on
symbols in other archives, because with static libraries the resolution
is only left to right on the command line.

There are some other edge cases I can think of but I am not sure that
you want to worry about them right now.

Best,

Tom


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk