Environment where the error occurs:

Linux tudoposso-virtual-machine 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



On Wed, Feb 19, 2014 at 10:59 AM, Paulo Márcio Figueiredo Alves <pauloalves1986@gmail.com> wrote:
PS.: line 5 always gives error.


On Wed, Feb 19, 2014 at 10:57 AM, Paulo Márcio Figueiredo Alves <pauloalves1986@gmail.com> wrote:
I have made a simple test to show the problem (attached file). If you do not use Boost.Thread, the problem does not occur.
Adjust boost path (line 1) and call b2 -a, you'll see "recompile with -fPIC". Choose one of the commented choices
for target foo_static and you will see that there is no way to make it work, unless you call b2 -a cxxflags=-fPIC.

Is it a bug? Is there any workaround? Am I doing something wrong?


Thank you
Paulo Marcio



On Fri, Jan 10, 2014 at 2:52 PM, Paulo Márcio Figueiredo Alves <pauloalves1986@gmail.com> wrote:
Thank you, worked like a charm.
Solution:

local ps = [ property-set.create <svn-output-root>$(output-root) ] ;
local action = [ new action $(sources[1]) : svn.export-source : $(ps) ] ;



On Fri, Jan 10, 2014 at 2:14 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG

On 01/10/2014 05:52 AM, Paulo Márcio Figueiredo Alves wrote:
> This generator duplicates the target if `b2 release debug`, because I
> always create the source in the same location.
> Is there a way to solve this but still use same location?
>

In the svn-generator.run rule, drop all the
properties that are not relevant before constructing
the action.  The only property that you need is
<svn-output-root>, I think.

In Christ,
Steven Watanabe

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