On 09/02/2012 07:01 PM, Ken Moffat wrote:
>   I have to disagree with Jeremy.  I too have not explored the stage
> target, but doing what is in effect a DESTDIR install, all the libs
> except libboost_exception and libboost_test_exec_monitor are shared.
> In my experience those two are only ever built as static.
>
>   Since my eyesight has proved problematic in this, I'll paste the
> commands I used :
>
> ./bootstrap.sh --prefix=/scratch/ken/BOOSTmultishared/usr
> ./b2 -j3 2>&1 | tee buildlog
> ./b2 install threading=multi link=shared 2>&1 | tee instlog
> ls -lR ../BOOSTmultishared/usr/lib/*.a
> ls ../BOOSTmultishared/usr/lib/*.so* | wc -l
>
>   That last one reports 52, i.e. 26 .so symlinks, and 26 actual
> .so.1.51.0 shared libraries.
>
> ĸen
>

 From what I know, if you use it like that, install target will cause 
packages to be rebuilt because you changed the options!

Also, there is no need to modify prefix and bootstrap.sh script

You can just pass --prefix=/path/to/boost/usr to the ./b2 install thing.

See ./b2 --help for more info.
-- 
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