Boost logo

Boost-Build :

From: Sam Partington (Sam.Partington_at_[hidden])
Date: 2004-01-29 11:54:19

Vladimir Prus <mailto:ghost_at_[hidden]> wrote:
>> gccmt.jam :
>> ...
>> # Make the "o" suffix used for gcc toolset on all
>> # platforms
>> type.set-generated-target-suffix OBJ : <toolset>gccmt : o ;
>> type.set-generated-target-suffix EXE : <toolset>gccmt : preelf ;
>> type.set-generated-target-suffix LDR : <toolset>gccmt : ldr ;
>> type.set-generated-target-suffix STATIC_LIB : <toolset>gccmt : a ;
>> ...
>> # Declare generators
>> generators.register-ldlk gccmt.ldlk : EXE : LDR : <toolset>gccmt ;
>> generators.register-linker : LIB OBJ : EXE :
>> <toolset>gccmt ;
>> But I get the feeling I'm going about this the wrong way, and that I
>> need to change builtin.jam.
> It looks to me that you're generators exactly minic the
> description of your
> tools. I don't see anything wrong about it.
> Why do you think you need to change builtin.jam?

Thanks for being so prompt! Sorry meant to include the error messages :

C:/Work/SS/hardware/boost-build/tools\gccmt.jam:57: in load
rule generators.register-ldlk unknown in module gccmt.
C:\Work\SS\hardware\boost-build/kernel\modules.jam:259: in import
C:/Work/SS/hardware/boost-build/build\toolset.jam:22: in using
C:\Work\SS\hardware\boost-build\user-config.jam:6: in modules.load
C:/Work/SS/hardware/boost-build\build-system.jam:56: in load
C:\Work\SS\hardware\boost-build/kernel\modules.jam:259: in import
C:\Work\SS\hardware\boost-build/kernel/bootstrap.jam:120: in boost-build
C:\Work\SS\hardware\boost-build.jam:1: in module scope

I'm not sure I follow the way it all works, but I got the impression that
builtin.jam provided the types of generators - the interface if you like,
and the toolset files provided the implementation. So I figured I would
have to extend the interface somehow. Perhaps I have that wrong.

Also I figured I needed to provide a definition for LDR somewhere, and all
the rest of the definitions were in builtin.jam. When I tried :

declare-type : LDR : ldr : : application ;

just after the imports, the error message was

C:/Work/SS/hardware/boost-build/tools\gccmt.jam:17: in load
rule declare-type unknown in module gccmt.

This e-mail has been sent from Imagination Technologies Limited.
PowerVR, Metagence, Ensigma and PURE Digital are divisions
of Imagination Technologies Limited.

The information contained in this e-mail, including any attachment,
is confidential and may be legally privileged. It is intended solely
for the addressee(s) and access to this e-mail by anyone else is
unauthorised. If you are not the intended recipient, any disclosure,
copying or distribution or use of the information contained in this
e-mail, is prohibited and may be unlawful. If you have received this
e-mail in error, please notify the sender by return e-mail and then
delete it from your system.

Internet communications cannot be guaranteed to be secure,
error or virus-free. The sender does not accept liability for any errors
or omissions which arise as a result.

Any views expressed in this message are those of the author, except
where the author specifies and, with authority, states them to be the
views of Imagination Technologies Ltd.


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