From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-01-29 11:10:46
> This makes the link phase of the build a bit unusual. For example take a
> very simple two threaded example :
> Thread0.c -> gcc -> Thread0.o -> ld -> Thread0.preelf
> Thread1.c -> gcc -> Thread1.o -> ld -> Thread1.preelf
> Thread0.preelf \
> -> ldlk -> Project.ldr
> Thread1.preelf / Project_t0.elf
> I've so far been trying to do something like this :
> 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 gccmt.link : 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?
> Any clues anyone?
> 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.
> Yahoo! Groups Links
> To visit your group on the web, go to:
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to:
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