Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-13 18:54:17


----- Original Message -----
From: "Robert Binion" <rbinion_at_[hidden]>

> Apologies, I'm sure this thread is getting annoying.
>
> Actually there are no CMD files to be found, you'll notice from the output
> that they are not being created; so I was misleading when I said they were
> being created, what I should have said is that they are trying to be
created
> :)
>
> I didn't want to post the full output because it is so long, but I
modified
> the boost Jamfile to only include one of the subprojects. Here is the full
> output from running "jam -sBOOST_ROOT=. -sTOOLS=msvc > what.txt"
>
> ...found 159 targets...
> ...updating 8 targets...
> msvc-Archive-action
>
libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\libb
> oost_regex.lib
>
> C:\usr\boost>if exist
>
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\lib
> boost_regex.lib" set
>
_libboost_regex_="libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime
> -link-dynamic\libboost_regex.lib"
>
> C:\usr\boost> link /lib
>
/out:"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynami
> c\libboost_regex.lib"
>
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\c_r
> egex_traits.obj"
...
<snip many object files>

This makes NO sense to me. When I look at tools/build/msvc-tools.jam, it
should be . There is no place where an object file should be present on the
msvc-Archive-actioni command-line. And here are the corresponding commands
executed when I do the same thing you did:

----
command-file-dump-1st
libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\libb
oost_regex.CMD
    echo
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\c_r
egex_traits.obj"  >
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\lib
boost_regex.CMD"
command-file-dump-rest
libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\libb
oost_regex.CMD
    echo
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\c_r
egex_traits_common.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\cpp
_regex_traits.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\cre
gex.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\fil
eiter.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\pos
ix_api.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\reg
ex.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\reg
ex_debug.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\reg
ex_synch.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\w32
_regex_traits.obj"
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\wid
e_posix_api.obj"  >>
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\lib
boost_regex.CMD"
msvc-Archive-action
libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\libb
oost_regex.lib
    CALL "C:\Program Files\Microsoft Visual C++\VC98\bin\VCVARS32.BAT" >nul
    if exist
"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\lib
boost_regex.lib"  set
_libboost_regex_="libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime
-link-dynamic\libboost_regex.lib"
    C:\Program Files\Microsoft Visual C++\VC98\bin\link  /lib
/out:"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynami
c\libboost_regex.lib"  %_libboost_regex_%
@"libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\li
bboost_regex.CMD"
remove-command-file
libs\regex\build\bin\libboost_regex.lib\msvc\debug\runtime-link-dynamic\libb
oost_regex.lib
----
...which exactly matches my expectations. Are you /positive/ msvc-tools.jam
is up-to-date?

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk