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. 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' ? BR. /TomTan

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.
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

Rene Rivera wrote:
libboost_signals-gcc-1_32.a libboost_signals-gcc-1_32.so libboost_signals-gcc.a libboost_signals-gcc.so
'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
But why duplicates of each? On windows I get libboost_signals-bcb-1_32.dll and libboost_signals-bcb.dll Which are both the same. Why are there libraries without the version number in created? Cheers Russell
participants (3)
-
Rene Rivera
-
Russell Hind
-
Tom Tan (SH/RDC)