From: Peter Steiner (peter.steiner_at_[hidden])
Date: 2003-10-15 16:36:06
On Wed, 15 Oct 2003 11:40:47 +0400, Vladimir Prus wrote:
> Almost. The first caveat is that you don't need to write a rule like
> register-c-compiler. If you want to add new transformation, you have to
> declare new generator. The 'register-c-compiler' is just a convenience
> wrapper which declares new generator with some predefined properties.
> The process of declaring a new generator is documented at
> and it fact, stripping a binary is a simple transformation, so the process is
> just as described. I attach a working example.
This approach works fine. Thanks!
> There's another solution for your problem: make the feature that determines if
> the target is stripped or not.
> I attach the working example of this as well. It would be interesting to know
> this approach you find better.
I like the first approach better. The second is based on the
coincidence that stripping can as well be done while linking. But
the first approach serves as a generic step of a possible larger
-- _ _ Peter Steiner <peter.steiner_at_[hidden]> / /_/ / Hug-Witschi AG <http://www.hugwi.ch/> / _ / Electronic Engineering /_/ /_/ _ _ Auriedstrasse 10 / / / / / / CH-3178 Boesingen / /_/ /_/ / Tel +41 31 740 44 44 /_ _ _ _ _/ Fax +41 31 740 44 45
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