Armin K. wrote:

> On 1.9.2012 2:05, Ken Moffat wrote:
> >
> > [...]  I've now found out that the build can be separated from the
> > install by just running ./b2 - the benefit of this is that you can
> > pass -jN for  a parrallel make, which helps.  For  the moment, I'm
> > not in a hurry to fix that  because I only build boost for gnash -
> > see next para.
> 
> I'd also like to add that there are two targets with ./b2 tool.
> 
> stage target will build the package  and not install it, and install
> target will build the package if not already built and install it.

Minor gotcha - if you split the build and the install this way and you
want "link=shared"  then you  must pass  it to  both "./b2"  and "./b2
install" otherwise the install builds the static libraries.  (Verified
with boost_1_51_0  .)  I don't  what happens  if you build  with "./b2
stage" instead of just "./b2"; I  assume the results would be the same
but I haven't checked.

Regards,

Jeremy Henty
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to