Boost logo

Boost :

From: Richard Crossley (rdc_at_[hidden])
Date: 2008-03-26 10:29:56


Thanks!

The runtime-link=static is what I was missing.

By ABI naming I meant the 'sdg' part of the library name, referred to on the
Getting Started page as the 'ABI tag' and I understand now that with
link=static this portion shouldn't have changed.

In my defence... It's been a long time since I needed to rebuild the boost
libraries and things seemed to have changed; the Getting Started page
identifies the potential library variants but not, as far as I can see, the
options required to generate them without looking in to the Boost Build
documentation and even then I have to know that I'm looking for a 'Builtin'
feature. Regardless, I really don't want to have to understand the internals
of the build system just to change the linking method. I just saw the
link=shared under Static and Shared libraries in the Boost Build docs and
incorrectly jumped to the conclusion that was what I required.

Also it's not obvious that if you run bjam --help from outside the boost
directory structure
("Please consult the documentation at 'http://www.boost.org'.") that a
useful help message with the information I required would have been produced
if it was run from within!

Many thanks for your help,

Richard.

> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-
> bounces_at_[hidden]] On Behalf Of Vladimir Prus
> Sent: 26 March 2008 13:42
> To: boost_at_[hidden]
> Subject: Re: [boost] Build statically linked boost libs *-vc90-mt-
> sgd.lib
>
> Richard Crossley wrote:
>
> >
> >> -----Original Message-----
> >> From: boost-bounces_at_[hidden] [mailto:boost-
> >> bounces_at_[hidden]] On Behalf Of Vladimir Prus
> >> Sent: 26 March 2008 12:04
> >> To: boost_at_[hidden]
> >> Subject: Re: [boost] Build statically linked boost libs *-vc90-mt-
> >> sgd.lib
> >>
> >> Richard Crossley wrote:
> >>
> >> > Hi,
> >> >
> >> > Feeling stupid...
> >> > How do I generate the statically linked *-vc90-mt-sg*.lib series
> of
> >>
> >> 's' is not statically linked, it's static runtime.
> >>
> >> - Volodya
> >
> > I'll rephrase it then.
> >
> > How do I generate the
> > libboost-*-vc90-mt-sg.lib and
> > libboost-*-vc90-mt-sgd.lib variants?
>
> The "lib" prefix is for static libraries. Use link=static
> The 's' letter is to static linking to runtime. Use runtime-link=static
> The 'd' is debug, use variant=debug
> The 'g' is using debug runtime, I think it's included in 'debug'
> variant
> already. If not runtime-debugging=on will help.
>
> > I can see that adding the link=static option generates a separate
> tree in
> > the build directory.
> > However the ABI naming of the resultant staged libraries appears to
> remain
> > the same.
>
> What is "ABI naming" and why do you expect it to change?
>
> - Volodya
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk