Boost logo

Boost-Build :

From: muchacho_30 (aachkar_at_[hidden])
Date: 2004-10-07 12:38:44

Thanks Vladimir for your prompt and clear response!

1. I tried your suggestion (creating a LIS type) and it worked! I
have two more issues:

a) Now, it generates the following:

warning: using independent target

Can I get rid of this warning, specifically for this LIS type? (I
don't want to completely disable warnings).

b) When the librarian fails, I am left with files that have random
letters in their base name but a consistent extension of .AAA, i.e. I
might be left with the following files:


I would like to clean these files as well. I could do something like:

actions piecemeal archive
c:/icc/bin/ilibw $(AR_FLAGS) "$(<:W)" "$(>:W)"
rm *.AAA

However, I'd much rather delete them when 'bjam clean' is invoked and
not when 'bjam' is invoked.

2. The prefix I need is 'lib', so I tried:

generators.register-composing icc.archive : OBJ : STATIC_LIB(lib%) :
<toolset>icc ;

and it worked!

Thank you!

--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> muchacho_30 wrote:
> Hi Alain,
> > I am writing a new generator for a new C compiler (ImageCraft)
which is
> > currently not supported by Boost-Build v2. I based it on gcc.jam
> > describes how to extend the toolset to support the GCC compiler.
> > Everything works well except for the following:
> >
> > 1. The complier generates files that I would like to delete when 'bjam
> > clean' is invoked. For example, I can't make it clean up the file
> > 'bqueue.lis' and I don't know where to invoke the common.Clean rule
> It's easy. If your compiler produces anything else besides OBJ, you
need to
> specify that when declaring generator.
> > generators.register-c-compiler icc.compile.c : C : OBJ :
> > <toolset>icc ;
> This should become:
> type.register LIS : lis ;
> generators.register-c-compiler icc.compile.c : C : OBJ LIS :
<toolset>icc ;
> V2 will clean "lis" file automatically.
> > 2. I would like to be able to add a PREFIX to the library name(just
> > like in Classic Jam and Boost-Build v1, we could add PRELIB).
> Do you want a specific prefix? Always? This can be done with
> generators.register-composing icc.archive : OBJ :
> STATIC_LIB(some_prefix_%) ;
> If you want more flexible logic, could you please give more details?
> - Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at