List Info

Thread: stlport.jam forces _STLPORT_USE_DYN_LIB on?




stlport.jam forces _STLPORT_USE_DYN_LIB on?
country flaguser name
Canada
2007-09-19 04:14:17
Folks,

I've had a couple of complaints now from people using
Boost.Regex with 
STLport to the effect that they can't link against the regex
lib's produced 
by bjam because these always reference the STLport dll's and
not the static 
libraries.  Looking in stlport.jam I see:

        if [ $(rproperties).get <runtime-debugging> ]
= "on"
        {
            usage-requirements +=
                <define>_STLP_USE_DYNAMIC_LIB=1 ;
        }

So it looks like whenever a debug build is built the STLport
dll version is 
linked against regardless of the users intent?  What was the
rationale here?

Thanks, John. 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: stlport.jam forces _STLPORT_USE_DYN_LIB on?
user name
2007-09-19 05:00:00
John Maddock wrote:

> Folks,
> 
> I've had a couple of complaints now from people using
Boost.Regex with
> STLport to the effect that they can't link against the
regex lib's
> produced by bjam because these always reference the
STLport dll's and not
> the static
> libraries.  Looking in stlport.jam I see:
> 
>         if [ $(rproperties).get
<runtime-debugging> ] = "on"
>         {
>             usage-requirements +=
>                 <define>_STLP_USE_DYNAMIC_LIB=1
;
>         }
> 
> So it looks like whenever a debug build is built the
STLport dll version
> is
> linked against regardless of the users intent?  What
was the rationale
> here?

I think this is covered in issue #1177 -- the above code is
wrong,
and the issue has a fix. It's on my todo for this week to
apply that patch.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: stlport.jam forces _STLPORT_USE_DYN_LIB on?
country flaguser name
United States
2007-09-19 15:50:12
Vladimir Prus wrote:
> 
> I think this is covered in issue #1177 -- the above
code is wrong,
> and the issue has a fix. It's on my todo for this week
to apply that patch.
> 

Related to this item, my patch has actually evolved a little
bit from 
what I originally posted.  Some changes to builtin.jam a few
weeks ago 
required further mods to stlport.jam.  Please use the
attached patch in 
place of my previous one.

Thanks,
-Dave

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

  
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )