Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-06-19 03:44:04

On Friday 16 June 2006 22:36, Tomas Puverle wrote:
> > I'm not recommending this, but Sun makes it impossible to link a 100%
> > static
> > binary on Solaris 10. You can (with care) link with static versions
> of
> > your
> > own and third-party libraries, but there are simply no static versions
> of
> > the system libraries provided.
> Yes, that's correct. The reason for static linking is that in our a
> large distributed environment, most shared libraries live in a
> distributed filesystem (NFS/AFS) but for some applications we can't
> afford for them not to start up should there be a file server outage.
> Since the system libraries live on the same machine as the app, the only
> way for them to break for the root filesystem become inaccessible, which
> then becomes a completely different problem :)

So, it's fine for you to link dynamically to the runtiume libs, but it's
required to link statically some other libs?

Are those other libs built by Boost.Build, or are pre-installed?

If pre-installed, we'd need to use the -Bstatic solution, but in any case, we
should not pass -static to the linker if it never works.

- Volodya

Vladimir Prus
Boost.Build V2:

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