|
Boost-Build : |
From: William E. Kempf (williamkempf_at_[hidden])
Date: 2002-08-21 09:54:34
I originally sent this to the main Boost list, but there was no response
there. I suspect I probably have something set up wrong in my own
environment, but I still want to know if anyone's seen this problem or has
any idea what could be wrong. It makes no sense to me.
Thanks,
Bill Kempf
----- Original Message -----
From: "William Kempf" <williamkempf_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, August 17, 2002 11:01 AM
Subject: [boost] Boost.Build problem?
> I'm having an unusual problem running the Boost.Threads tests
> (libs/thread/test/Jamfile) using GCC. Here's the result of bjam
using -d2:
>
> ---------
>
> F:\Home\boost\libs\thread\test>bjam -sTOOLS=gcc -d2
> ...found 652 targets...
> ...updating 46 targets...
> gcc-C++-action
> ..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-l
> ink-dynamic\threading-multi\test_thread.obj
>
> f:\cygwin\usr\local\gcc-3.2/bin/g++ -c -Wall -ftemplate-depth-100 -g
> -O0
> -fno-inline -mthreads -I"..\..\..\libs\thread\test" -isystem
> "F:\Home\boost"
> -o
>
"..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-link-dynami
> c\threading-multi\test_thread.obj" "test_thread.cpp"
>
> gcc-Link-action
> ..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-
> link-dynamic\threading-multi\test_thread.exe
>
>
>
> f:\cygwin\usr\local\gcc-3.2/bin/g++ -g -o
> "..\..\..\libs\thread\test\bin\
>
test_thread.exe\gcc\debug\runtime-link-dynamic\threading-multi\test_thread.e
xe"
> -L"../../../libs/thread/build/bin/boost_threadmon.dll/gcc/debug/runtime-li
nk-dy
> namic/threading-multi" -L"f:/cygwin/usr/local/gcc-3.2/lib"
> "..\..\..\libs\thre
>
ad\test\bin\test_thread.exe\gcc\debug\runtime-link-dynamic\threading-multi\t
est_
> thread.obj"
> "..\..\..\libs\thread\build\bin\libboost_thread.lib\gcc\debug\runti
> me-link-dynamic\threading-multi\libboost_thread.lib"
> "..\..\..\libs\test\build\b
>
in\libunit_test_framework.lib\gcc\debug\runtime-link-dynamic\threading-multi
\lib
> unit_test_framework.lib"
> "..\..\..\libs\thread\build\bin\boost_threadmon.dll\gcc
> \debug\runtime-link-dynamic\threading-multi\boost_threadmon.lib"
> "..\..\..\libs
>
\thread\build\bin\libboost_thread.lib\gcc\debug\runtime-link-dynamic\threadi
ng-m
> ulti\libboost_thread.lib"
> "..\..\..\libs\test\build\bin\libunit_test_framework.l
>
ib\gcc\debug\runtime-link-dynamic\threading-multi\libunit_test_framework.lib
"
> ".
>
.\..\..\libs\thread\build\bin\boost_threadmon.dll\gcc\debug\runtime-link-dyn
amic
> \threading-multi\boost_threadmon.lib" -lboost_threadmon
>
>
> Run
>
..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-link-dynamic
> \threading-multi\test_thread.exe
>
> set
> PATH=..\..\..\libs\thread\build\bin\boost_threadmon.dll\gcc\debug\ru
> ntime-link-dynamic\threading-multi;%PATH%
>
>
> ..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-link-dyn
> amic\threading-multi\test_thread.exe
>
> spawn: No such file or directory
>
> ---------
>
> The surprising thing is that the executable was built correctly. In fact,
> running the commands shown above manually I get expected results:
>
> ---------
>
> F:\Home\boost\libs\thread\test>set
> PATH=..\..\..\libs\thread\build\bin\boost_thr
> eadmon.dll\gcc\debug\runtime-link-dynamic\threading-multi;%PATH%
>
>
F:\Home\boost\libs\thread\test>..\..\..\libs\thread\test\bin\test_thread.exe
\gcc
> \debug\runtime-link-dynamic\threading-multi\test_thread.exe
> Running 3 test cases...
>
> *** No errors detected
>
> ---------
>
> The two VC toolsets don't result in this problem on the same box. Any
ideas
> as to what I'm doing wrong?
>
> Bill Kempf
> williamkempf_at_[hidden]
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/b
oost
>
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