Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-01 03:05:01


On Monday 29 August 2005 12:23, Daniel Schlyder wrote:
> When a static library is compiled for the first time, I get a "could not
> find" warning afterwards. For example:
>
> gcc.archive bin\gcc\debug\link-static\ldpng.a
> Could Not Find
> E:\projects\cpp-vendor\wc\loadpng\bin\gcc\debug\link-static\ldpng.a
>
> This is caused by the
>
> $(RM) "$(<)"
>
> in gcc.jam's

Can you check (with "bjam -n -a"), if "RM" expands to "del /f" or to "rm -f".
The latter should produce no warning when file does not exists.

>
> actions piecemeal archive
> {
> $(RM) "$(<)"
> ar ruc "$(<)" "$(>)"
> }
>
> BTW, if the comment above the action is correct, the 'u' modifier is
> useless as long as the archive is created from scratch each time.

True. Corrected in CVS.

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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