Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-21 10:04:59


Bill,

Please post the output of:

bjam -sTOOLS=gcc -d+2 -d+4

Thanks,
Dave

-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

----- Original Message -----
From: "William E. Kempf" <williamkempf_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Wednesday, August 21, 2002 10:54 AM
Subject: [jamboost] Fw: [boost] Boost.Build problem?

> 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-dynam
i
> > 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-l
i
> 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-mult
i
> \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\thread
i
> 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.li
b
> "
> > ".
> >
>
.\..\..\libs\thread\build\bin\boost_threadmon.dll\gcc\debug\runtime-link-dy
n
> amic
> > \threading-multi\boost_threadmon.lib" -lboost_threadmon
> >
> >
> > Run
> >
>
..\..\..\libs\thread\test\bin\test_thread.exe\gcc\debug\runtime-link-dynami
c
> > \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.ex
e
> \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
> >
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

 


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