Boost logo

Boost-Build :

From: Scout (scout119_at_[hidden])
Date: 2008-04-09 19:22:07


That is not correct.
<link>static - specifies to link staticaly to boost_python libraries which
works fine.

I want C/S++ runtime to be linked statically as well
The problem is that <runtime-link>static complains about
"libboost_python-vc80-mt-s-1_34_1.lib "
<runtime-link>static is the same as specifying <cxxflags>/MT.

Something wrong with the above lib file. I have checked that it is present.

Regards,
Scout.

On Wed, Apr 9, 2008 at 6:20 PM, Vladimir Prus <ghost_at_[hidden]> wrote:

> On Thursday 10 April 2008 02:06:13 Scout wrote:
> > I am trying to build hello extension using static libraries and static
> > runtime. For some reason LINK can't open
> > 'libboost_python-vc80-mt-s-1_34_1.lib' file
> > Shared works fine, I have checked that lib file is present. Below is the
> > output.
> .....
> > # Declare a Python extension called hello.
> > python-extension hello : hello.cpp : <link>static ;
>
> Err, that above is trying to create a static python extension. There's no
> way it can work -- Python extensions are dynamic libraries.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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