|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-07 05:38:13
Philipp Frauenfelder wrote:
> It's me again. ;-)
:-)
> > On Tue, Jul 06, 2004 at 05:43:58PM +0400, Vladimir Prus wrote:
> > > I'm sure I've added some code to prevent duplicate sources.
> > > Would you mind sending me the complete Jamfiles and
> > > site-config.jam, so that I can reproduce the problem?
>
> I have been able to work around the problem. Before, I had the
> external libraries as 'requirements' in the subprojects which
> themselves build libraries. Now, I have the external libs (and
> the internal ones as well) as 'usage-requirements' for the
> internal libs and all works well when linking an application or
> test program.
And I've fixed the problem, too. I guess I was running tests just when you
were looking for workaround...
> This works around the problem for me. However, in the shown
> minimal example, the libs are still in the link command twice...
I've comitted revision 1.27 of gcc.jam which works for your original testcase.
Could you verify it really works on your side? Anonymous CVS is a bit slow,
so you can get the file directly at
http://zigzag.lvk.cs.msu.su/~ghost/working_copy/v2/tools/gcc.jam
- Volodya
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