Boost logo

Boost-Build :

Subject: [Boost-build] changing file output suffixes
From: McLemon, Sean (Sean.McLemon_at_[hidden])
Date: 2009-06-26 05:58:52



(Originally posted in Boost-users, apologies for the repetition :)). Our
toolchain generates files ending in ".doj" for objects, so I've been
trying to configure my custom toolset module to use this. My original
module is based on acc.jam but qcc.jam had something that looked like it
would do the trick, so I lifted that and chucked into my module:


import type ;


type.set-generated-target-suffix OBJ : <toolset>bfin : doj ;

type.set-generated-target-suffix STATIC_LIB : <toolset>bfin : dlb ;


However my build of Boost now fails, with a fairly long error tracing:


smclemo_at_edin-angus /usr/src/boost_1_39_0

$ bjam toolset=bfin

WARNING: No python installation configured and autoconfiguration

         failed. See

         for configuration instructions or pass --without-python to

         suppress this message and silently skip all Boost.Python


Building C++ Boost.


After the build, the headers will be located at




The libraries will be located at




Use 'bjam install --prefix=<path>' if you wish to install headers and

libraries to a different location and remove the source tree.



C:/cygwin/usr/src/boost_1_39_0/tools/build/v2/build\property.jam:613: in
find-replace from module object(property-map)@1

error: Ambiguous key <target-type>OBJ <asynch-exceptions>off
n/usr/src/boost_1_39_0>.handle-static-runtime <debug-symbols>on
<define>DATE_TIME_INLINE <exception-handling>on <extern-c-nothrow>off
<hardcode-dll-paths>true <host-os>windows <include>. <inlining>off
<install-dependencies>off <link>static <main-target-type>LIB
<optimization>off <os>NT <preserve-test-targets>on <profiling>off
<python-debugging>off <python>2.5 <rtti>on <runtime-debugging>on
<runtime-link>shared <stdlib>native <suppress-import-lib>false
c/boost_1_39_0>.tag <target-os>windows <target>object(file-target)@429
<threadapi>win32 <threading>multi <toolset-bfin:version>
<toolset>bfin <user-interface>console <variant>debug
<warnings-as-errors>off <warnings>on



I'm guessing I'm doing something probably a bit stupid or missing
something (I'm still at the fiddling around stage yet, so this is very
likely). I've attached the module (bfin.jam) - hopefully someone is able
to point me in the right direction.



- Sean


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