From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-15 01:27:10
> I'm having trouble with threading and cygwin. At first I couldn't
> get Boost.Thread to compile with cygwin at all. After some research
> I found that if I forced the definition of BOOST_HAS_THREADS in
> $(BOOST_ROOT)/boost/config/compiler/gcc.hpp it would compile.
At least at Linux, the -pthread option to gcc causes Boost.Config to define
> If I try to build something that is not in boost I am still getting
> this error. Do I have to do something special to get the system to
> include gcc.hpp during the build process?
Possibly, cygwin's gcc does not recognize -pthread.
> The other thing that bothers me is that when I try to build
> with "threading=multi", or if I just try to build Boost.Thread, I
> get the warning "g++: unrecognized option `-pthread'".
Yea, it does not recognize it. Could you please get
place to the appropriate directories in your V2 tree and try again. I've moved
threading related code from V1, and hopefully it will fix your problem.
> Any ideas?
> To unsubscribe from this group, send an email to:
> 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