ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Re: [config] Single threaded builds with g++ >= 3.4: Nolonger possible?
by Andreas Huber other posts by this author
Jan 18 2005 9:59AM messages near this date
RE: [boost] Re: Functions as Filters (was Program Reuse...) | [boost] Reminder: Boost Logo Contest
SOURCE Hi Christoph

> > I suspect this means that ST builds are no longer possible on some
> > GCC platforms (I'm using MinGW). Could someone please confirm or
> > deny this?
> 
>  builds without MT support are still possible but you need to
>  explicitly define BOOST_DISABLE_THREADS (either via the compiler
>  command line option or via your own version of boost/config/user.hpp).
> 
>  Yes, it is annoying, but given that gcc 3.4 does not provide a way to
>  detect at compile time whether the option `-pthread' (or whatever it
>  is on your platform) is present on the compiler command line, there
>  seems to be no better solution. The corresponding PR in the gcc bug
>  tracking system
>  <URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953> did not see
>  much activity lately whence I entertain some doubt whether there will
>  be a resolution before gcc 4.0.

Thanks a lot for the info. I guess this makes it a bjam issue then. It 
seems that the mingw toolset should define BOOST_DISABLE_THREADS for a 
single-threaded build.

Regards,

-- 
Andreas Huber

When replying by private email, please remove the words spam and trap
from the address shown in the header. 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved