RE: [Boost-users] Re: why so many .so and .a files for boost?
Hi, all, Why are there so many .so and .a files in $BOOT_HOME/lib? Take boost_singal as an example, there are about a dozen . They are: libboost_signals-gcc-1_32.a libboost_signals-gcc-1_32.so libboost_signals-gcc.a libboost_signals-gcc.so libboost_signals-gcc-d-1_32.a libboost_signals-gcc-d-1_32.so libboost_signals-gcc-mt.a libboost_signals-gcc-mt-d-1_32.so .... I wonder what are 'd' and 'mt' mean? "debug" and "mutil-thread"? If so, i wonder when i use a 'mt' thread , e.g.
got it, then why do i have to turn on the '-pthread' option of g++ when using boost_thread library? -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] Sent: Wednesday, April 20, 2005 14:51 To: boost-users@lists.boost.org Subject: [Boost-users] Re: why so many .so and .a files for boost? Tom Tan (SH/RDC) wrote: libboost_signals-gcc-mt-d-1_32.so, will i have to use -pthread for Linux and -pthreads for Solaris along with my other g++ compile options. Why?
Another, for stdc++.so, are there two versions , each for 'mutil-thread' and 'sigal-thread' support? What's the relationship between these versions and the compiler options like '-pthread' ?
Answers at.. http://www.boost.org/more/getting_started.html#Results -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On 4/20/05, Tom Tan (SH/RDC)
got it, then why do i have to turn on the '-pthread' option of g++ when using boost_thread library?
Because you need that option to enable multi-threaded code. The Boost Threads library isn't much use without it :-) -- Caleb Epstein caleb dot epstein at gmail dot com
participants (2)
-
Caleb Epstein
-
Tom Tan (SH/RDC)