
Boris Schaeling wrote:
On Sun, 29 Aug 2010 22:59:42 +0200, Gevorg Voskanyan <v_gevorg@yahoo.com> wrote:
Boris Schaeling wrote:
For now I would appreciate if the library's test cases are run on as many platforms as possible. After copying the files from the ZIP file to the Boost folder change to libs/process/test/ and run bjam - that's all!
Under FreeBSD 8 with gcc 4.5.0, the tests ran fine except 'wait', which failed to link due to undefined reference to pthread_create. Adding <target-os>freebsd:<linkflags>-pthread to test project's requirements fixed that for me.
Thank you very much for running the test cases! Looking at the values <target-os> can be set to I wonder which other plaforms need -pthread:
aix, bsd, cygwin, darwin, freebsd, hpux, iphone, linux, netbsd, openbsd, osf, qnx, qnxnto, sgi, solaris, unix, unixware, windows
So far it's Linux and FreeBSD. Or does unix mean it's set for all Unix-like platforms?
Well, if you're using pthread_create, then using threading=multi seems like a better approach than linking to the pthread library directly. Is this not good idea for some reason? - Volodya