From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-31 09:29:51
On Tuesday 31 May 2005 16:44, Toon Knapen wrote:
> With following Jamroot
> lib libtt : tt.cpp ;
> 'bjam -n link=static' reports following
> intel-linux.archive bin/intel-linux/debug/link-static/libtt.a
> ar ruc ...
> Actually on the first line of the command the RM command seems to be
> empty so you only see the argument to 'rm' and tries to execute that.
> The intel-linux.archive action actually uses the definition in gcc.jam.
> It works for gcc though so I do not understand why the $(RM) is empty
> when used in the intel-linux toolset. So apparantly line 280 of gcc.jam
> does not have any effect?!
Unfortunately, yes. The problem is the when intel is inherited from gcc, all
the rules from gcc.jam are imported "localized", meaning that variables
accesses from those rules will search the "intel" module only.
I don't think the decision makes much sense today. I'll change
toolset.inherit-rule to not "localize" rule and see if tests on intel-linux
pass after that.
-- 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