Boost logo

Boost-Build :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-06-19 10:45:38


> On Sunday 18 June 2006 02:43, Tomas Puverle wrote:
> > -Wl,-Bstatic -lgreet -Wl,-Bdynamic

Ok, this does indeed work as you say. Thanks for sorting me out Thomas!

On 6/19/06, Vladimir Prus <ghost_at_[hidden]> wrote:
> So, do we have a command line that works everywhere?

I think we do. If, instead of using -static on the link line, BBv2 does:

   g++ -Wl,-Bstatic <all libraries we know about> -Wl,-Bdynamic

Then all should be well on Solaris. The link line needs to contain
-Wl,-Bdynamic before any system libraries, whether explicit or
implicit.

-- 
Caleb Epstein

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