Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-04 05:15:14


On Wednesday 23 February 2005 10:11, Andre Hentz wrote:
> Unless I'm doing something wrong, the following is a bug. I had a file,
> say a1.c, that was included into liba.a. I moved a1.c to a2.c, updated
> my Jamfiles and rebuilt. My program was crashing with absurd errors.
> After some debugging I traced it back to the fact that a1.o was *still*
> in liba.a (hm, that may explain some cryptic, seemingly unrelated
> warnings).
>
> Isn't it the case for gcc.archive to correct? Perhaps:
> rm -f "$(<)"
> ar ruc "$(<)" "$(>)"

I think you're right. It's not a nice solution but I don't see any other. Fix
committed.

I wonder if we have to do the same with borland, and other toolsets? (msvc
removes static library already, too)

- 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