Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-07-11 14:12:06


> >
> > 1. I successfully compiled library L from L_source1.cpp and
L_source2.cpp
> > 2. I compiling test T from T_source.cpp and it's failing
> > 3. I change header that is included both in T_source.cpp and
> L_source1.cpp.
> > 4. I restarting T compilation.
> > 5. Jam first found that it need to recompile L_source1.cpp.
> > 6. Next It tries to relink library L. And it *fails*, cause L_source2.o
> is
> > missing.
>
> It actually tries to invoke the linker even though L_source2.o is missing?

It does invoke the linker and fails.

> Or does it report <skipping ... due to missing L_source2.o>?
> That's what's supposed to happen.

No it is not. Since L_source1.cpp has changed (through header) that means
that library L should relink. That in turn mean that bjam should recompile
missing L_source2.o cause L is dependent on it.

>
> -Dave
>

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk