Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-16 00:36:00


Peter Steiner wrote:
> The stage target has problems when non-EXE target have their suffix
> redefined. EXE targets have a special stage rule that relinks them,
> but all other types use common.copy.

[...]

> The stage rule fails to replace ".exe" with my desired empty suffix.
>
> I was not able to spot the problem in stage.jam (or wherever the
> problem is); but I hacked a workaround: I rewrote common.copy:

In fact, it seems like the "stage" rule is not to blame. In my test, if I put:

type.set-generated-target-suffix STRIPPED_EXE : <toolset>borland : "" ;

and build with borland, then STRIPPED_EXE is still build with the ".exe"
extension --- the "" suffix is not recognized. I've put a fix for this.
Can you get

http://zigzag.cs.msu.su:7813/working_copy/new/type.jam

overwrite your existing "type.jam" and try again? If this fixes your problem,
it would be great. Otherwise, it would be good if you send some small project
where the bug is reproducible.

Thanks,
Volodya

 


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