Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-12 12:30:51


"Joost Kraaijeveld" <J.Kraaijeveld_at_[hidden]> writes:

> Hi all,
>
> Is there anyone who uses the Boost libraries with Cygwin, in particular the
> Boost thread libraries, and cares to share his/hers knowledge how to compile
> the library (version 1.30.2) so that I can use the threads libraries?
>
> TIA
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> email: J.Kraaijeveld_at_[hidden]
> web: www.askesis.nl

The usual way using Boost.Build seems to be working pretty well, at
least with the current CVS state. There seems to be a small problem
with the sleep function, but that test succeeds just as often as it
fails:

cd c:/boost/libs/thread/test/
bjam -sTOOLS=gcc test
...found 1142 targets...
...updating 12 targets...
execute-test c:\build\bin\boost\libs\thread\test\test_xtime.test\gcc\debug\threading-multi\test_xtime.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\thread\test\test_xtime.test\gcc\debug\threading-multi\test_xtime.test
execute-test c:\build\bin\boost\libs\thread\test\test_once.test\gcc\debug\threading-multi\test_once.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\thread\test\test_once.test\gcc\debug\threading-multi\test_once.test
execute-test c:\build\bin\boost\libs\thread\test\test_tss.test\gcc\debug\threading-multi\test_tss.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\thread\test\test_tss.test\gcc\debug\threading-multi\test_tss.test
execute-test c:\build\bin\boost\libs\thread\test\test_condition.test\gcc\debug\threading-multi\test_condition.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\thread\test\test_condition.test\gcc\debug\threading-multi\test_condition.test
execute-test c:\build\bin\boost\libs\thread\test\test_mutex.test\gcc\debug\threading-multi\test_mutex.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\thread\test\test_mutex.test\gcc\debug\threading-multi\test_mutex.test
execute-test c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.run
====== BEGIN OUTPUT ======
Running 3 test cases...
../../../libs/thread/test/test_thread.cpp(41): error in "test_sleep": test in_range(xt) failed

*** 1 failure detected in test suite "Boost.Threads: thread test suite"
====== END OUTPUT ======

    set PATH=c:\build\bin\boost\libs\thread\build\boost_thread.dll\gcc\debug\threading-multi;%PATH%
    
    
    
    c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.exe > c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.output 2>&1 && copy c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.output c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.run || ( echo ====== BEGIN OUTPUT ====== && type c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.output && echo ====== END OUTPUT ====== && exit 1 )

...failed execute-test c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.run...
...removing outdated c:\build\bin\boost\libs\thread\test\test_thread.test\gcc\debug\threading-multi\test_thread.test
...failed updating 1 target...
...skipped 1 target...
...updated 10 targets...

Compilation exited abnormally with code 1 at Sun Oct 12 13:29:20

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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