Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Question about Boost Library naming ?

Reply
Thread Tools

Question about Boost Library naming ?

 
 
kathy
Guest
Posts: n/a
 
      08-02-2011
I am using Boost test library now and find there are several libraries
there:

libboost_unit_test_framework-mgw46-1_47.a
libboost_unit_test_framework-mgw46-mt-1_47.a
libboost_unit_test_framework-mgw46-s-1_47.a

what are differences between the 3 libraies (with "s", or with "mt",
or no "mt" and "s")?

also, for VC++ compiler, there is:

boost_unit_test_framework-vc100-mt-1_47.dll

but MinGW have:

libboost_unit_test_framework-mgw46-mt-1_47.dll
libboost_unit_test_framework-mgw46-1_47.dll

Why MinGW have more?

 
Reply With Quote
 
 
 
 
Alf P. Steinbach
Guest
Posts: n/a
 
      08-02-2011
On 02.08.2011 17:07, kathy wrote:
> I am using Boost test library now and find there are several libraries
> there:
>
> libboost_unit_test_framework-mgw46-1_47.a
> libboost_unit_test_framework-mgw46-mt-1_47.a
> libboost_unit_test_framework-mgw46-s-1_47.a
>
> what are differences between the 3 libraies (with "s", or with "mt",
> or no "mt" and "s")?


In Windows the libraries specify which versions of the runtime library
the use, so that there "needs" to be one library version for each
possible runtime library implementation.

For Windows I would GUESS that the first uses an import library for a
DLL version of the runtime, that the second "mt" uses statically linked
implementation with support for multiple threads, and the the third uses
a statically linked implementation that only supports single thread.

Now that you have some direction, it might be easier to find this in the
Boost documentation -- which is where you need to look.


> also, for VC++ compiler, there is:
>
> boost_unit_test_framework-vc100-mt-1_47.dll
>
> but MinGW have:
>
> libboost_unit_test_framework-mgw46-mt-1_47.dll
> libboost_unit_test_framework-mgw46-1_47.dll
>
> Why MinGW have more?


I don't know, but as of version 10.0 Visual C++ does no longer support
the single-thread implementations of the runtime library.

Again, you need to look this up in the relevant Boost documentation.

As such it's pedantically off-topic here, but this group has never had a
charter (as many wrongfully believe it has), and I think it's of
interest to many...


Cheers & hth., somewhat,

- Alf
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question about Boost library naming kathy C++ 1 08-10-2011 08:19 PM
The boost.variant library and boost::make_recursive_variant =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki C++ 1 07-06-2007 10:25 AM
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Javax.naming Exception: name not found in naming service. Harman Java 1 07-28-2006 08:51 AM
Any Boost Experts out there for Boost.Regex? Richard Latter C++ 2 05-17-2004 03:12 PM



Advertisments