Boost logo

Boost-Build :

From: Andre Hentz (ahentz_at_[hidden])
Date: 2005-02-23 02:11:12


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 "$(<)" "$(>)"

Thanks,

Andre Hentz

 


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