Boost logo

Boost Users :

From: Tom Tan (SH/RDC) (tom.tan_at_[hidden])
Date: 2005-04-20 02:09:35


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_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]]
Sent: Wednesday, April 20, 2005 14:51
To: boost-users_at_[hidden]
Subject: [Boost-users] Re: why so many .so and .a files for boost?

Tom Tan (SH/RDC) wrote:
> 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.
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_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net