Boost logo

Boost-Build :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-06-29 13:12:59


Hi Volodya,

Just retested MSVC with a very simple setup. Looks like you have indeed
introduced a bug with the RC changes.

With a minimal Jamfile
exe test :
test.cpp
;

This gives a --debug-generators dump related to RC files I have attached at
the end.

I quick bit of debuging shows that commenting out:
generators.register-standard msvc.compile.rc : RC : OBJ(%_res) :
<toolset>msvc : <toolset>msvc ;
works around the problem.

All the best,
Michael

*** construct EXE
from { test.CPP }
properties: <debug-store>object <debug-symbols>on
<exception-handling>on <format>html <hardcode-dll-paths>false <inlining>off
<link-runtime>shared <link>shared <main-target-type>EXE <optimization>off
<os>LINUX <profiling>off <rtti>on <runtime-debugging>on <stdlib>native
<symlink-location>project-relative <threading>single
<toolset-msvc:version>7.1 <toolset>msvc <traverse-dependencies>off
<user-interface>console <variant>debug
find-viable-generators target-type= EXE property-set= msvc-7.1/debug
trying type *
trying generator prebuilt-file-generator ( -> * )
trying type EXE
trying generator unix.link ( LIB OBJ -> EXE )
trying generator gcc.link ( LIB OBJ -> EXE )
trying generator intel-linux.link ( LIB OBJ -> EXE )
trying generator msvc.link ( OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB ->
EXE RSP )
matched with rank 0
*** 1 viable generators
generator msvc.link
multiple:
composing: true
*** construct OBJ (may return multiple targets)
from { test.CPP }
properties: <debug-store>object <debug-symbols>on
<exception-handling>on <format>html <hardcode-dll-paths>false <inlining>off
<link-runtime>shared <link>shared <main-target-type>EXE <optimization>off
<os>LINUX <profiling>off <rtti>on <runtime-debugging>on <stdlib>native
<symlink-location>project-relative <threading>single
<toolset-msvc:version>7.1 <toolset>msvc <traverse-dependencies>off
<user-interface>console <variant>debug
*** construct OBJ (may return multiple targets)
from { %.CPP }
properties: <debug-store>object <debug-symbols>on
<exception-handling>on <format>html <hardcode-dll-paths>false <inlining>off
<link-runtime>shared <link>shared <main-target-type>EXE <optimization>off
<os>LINUX <profiling>off <rtti>on <runtime-debugging>on <stdlib>native
<symlink-location>project-relative <threading>single
<toolset-msvc:version>7.1 <toolset>msvc <traverse-dependencies>off
<user-interface>console <variant>debug
find-viable-generators target-type= OBJ property-set=
msvc-7.1/debug
trying type *
trying generator prebuilt-file-generator ( -> * )
trying type OBJ
trying generator gcc.compile.c++ ( CPP -> OBJ )
trying generator gcc.compile.c ( C -> OBJ )
trying generator intel-linux.compile.c++ ( CPP -> OBJ )
trying generator intel-linux.compile.c ( C -> OBJ )
trying generator rc.resource-compile ( RC -> OBJ )
matched with rank 0
trying generator msvc.compile.c++ ( CPP -> OBJ )
matched with rank 0
trying generator msvc.compile.c ( C -> OBJ )
matched with rank 0
trying generator msvc.compile.rc ( RC -> OBJ )
matched with rank 1
*** 1 viable generators
generator msvc.compile.rc
multiple:
composing:
*** construct RC (may return multiple targets)
from { %.CPP }
properties: <debug-store>object <debug-symbols>on
<exception-handling>on <format>html <hardcode-dll-paths>false <inlining>off
<link-runtime>shared <link>shared <main-target-type>EXE <optimization>off
<os>LINUX <profiling>off <rtti>on <runtime-debugging>on <stdlib>native
<symlink-location>project-relative <threading>single
<toolset-msvc:version>7.1 <toolset>msvc <traverse-dependencies>off
<user-interface>console <variant>debug
find-viable-generators target-type= RC property-set=
msvc-7.1/debug
trying type *
trying generator prebuilt-file-generator ( -> * )
trying type RC
*** 0 viable generators
FAILURE

 


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