[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] MinGW and threads
From:       Danny Smith <dannysmith () clear ! net ! nz>
Date:       2008-12-16 1:31:00
Message-ID: 886DE4A0DCF044229B23FFC1D3D8456A () THOMAS
[Download RAW message or body]


> g++ -LC:\Boost\boost_1_37_0\stage\lib --enable-thread-safety 
> -oThread.exe main.o Thread.o -llibboost_thread-mgw34-mt-1_37

Try adding -mthreads in link step.

Danny


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

_______________________________________________
This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic