Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - Dependency check
From: Anant Rao (arao_at_[hidden])
Date: 2010-02-09 14:52:46


Hi Volodya,

You're right. -d+12 showed a header file changed. What a relief. Feel stupid to not have realized it.

Thanks a million!!
Anant

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Tuesday, February 09, 2010 11:44 AM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] bjam - Dependency check

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

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


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