Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - Dependency check
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-09 14:44:01


On Tuesday 09 February 2010 22:38:04 Anant Rao wrote:

> Hi,
>
> I'm using:
> "Boost.Jam Version 3.1.17. OS=LINUX."
>
> When I ran bjam -n (the actual cmd is:
> ../../dev/ThirdParty/Boost/boost_1_40_0/linux/bjam --user-config=../misc/bjam_linux/user-config.jam -n release
> ),
>
> it gives output as:
>
> "
> ...
> ...found 3273 targets...
> ...updating 6 targets...
> gcc.compile.c++ docservices/documentprocessors/ParserProcessor/bin/gcc-4.3.3/release/debug-symbols-on/ParserProcessor.o
> ...
> "
>
> The filesystem entryfor the target is:
> -rw-r--r-- 1 stratify stratify 3810924 Feb 9 05:38 docservices/documentprocessors/ParserProcessor/bin/gcc-4.3.3/release/debug-symbols-on/ParserProcessor.o
>
> The filesystem entry for the corresponding source is:
> -rw-r--r-- 1 stratify stratify 27110 Jan 24 01:11 docservices/documentprocessors/ParserProcessor/src/ParserProcessor.cpp
>
> My question:
> If the object file (target) is older than the source file, why does bjam think it needs to update the target? Am I doing anything incorrect?

Presumably, the .cpp files includes some headers that are newer than the object file. -d+12 should print dependency
information.

- 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