[pkg-boost-commits] r14096 - boost/trunk/debian

cavok at alioth.debian.org cavok at alioth.debian.org
Sun Jun 24 20:06:57 UTC 2007


Author: cavok
Date: 2007-06-24 20:06:57 +0000 (Sun, 24 Jun 2007)
New Revision: 14096

Modified:
   boost/trunk/debian/README.Debian
Log:
updated with -st/-mt advices and other minor changes

Modified: boost/trunk/debian/README.Debian
===================================================================
--- boost/trunk/debian/README.Debian	2007-06-23 22:54:46 UTC (rev 14095)
+++ boost/trunk/debian/README.Debian	2007-06-24 20:06:57 UTC (rev 14096)
@@ -16,21 +16,30 @@
 The following table shows which components use a library (shared or
 static) and the corresponding "-l" flag.
 
+Beware that every shared library comes in two flavors, one
+for single-thread and one for multi-threaded applications (except
+Boost.Thread, which is only multi-threaded). To the following "-l" flags
+you will need to add -st for single-threaded and -mt for multi-threaded
+flavors (ie. -lboost_date_time-st and -lboost_date_time-mt).
+
   Component              Link Flag                    Library Type
   ---------              ---------                    ------------
-  date_time              -lboost_date_time            static  shared
-  filesystem             -lboost_filesystem           static  shared
-  Boost.Graph            -lbgl-viz                    static  shared
+  Boost.Date_time        -lboost_date_time            static  shared
+  Boost.Filesystem       -lboost_filesystem           static  shared
+  Boost.Graph            -lboost_graph                static  shared
+  Boost.IOStreams        -lboost_iostreams            static  shared
   Boost.Program_options  -lboost_program_options      static  shared
-  Boost.Python           -lboost_python                       shared
+  Boost.Python           -lboost_python               static  shared
   Boost.Regex            -lboost_regex                static  shared
-  Boost.Serialization    -lboost_serialization        static
+  Boost.Serialization    -lboost_serialization        static  shared
+                         -lboost_wserialization       static  shared
   Boost.Signals          -lboost_signals              static  shared
   Boost.Test             -lboost_prg_exec_monitor     static  shared
-                         -lboost_test_exec_monitor    static  shared
                          -lboost_unit_test_framework  static  shared
-  Boost.Thread           -lboost_thread                       shared
+  Boost.Thread           -lboost_thread               static  shared
+  Boost.Wave             -lboost_wave                 static  shared
 
+
 Most of Boost is installed using the package libboost-dev.
 The components with a shared library have separate -dev packages.
 
@@ -41,13 +50,11 @@
 Threaded Applications
 ---------------------
 
-You need to specify -D_REENTRANT at compile time to build
-threaded applications.
+You need to specify -pthread switch on the gcc command line to build
+threaded applications. Remember to use the -mt library flavor in place
+of the -st.
 
-This behaviour changed in boost 1.30.2; prior versions mistakenly
-did not require that symbol _REENTRANT be defined.
 
-
 Example Code
 ------------
 
@@ -74,7 +81,7 @@
 Such implementation is distributed by libboost-dev Debian package in
 file /usr/share/doc/libboost-dev/examples/random_device.cpp. This file is
 generally good enough for most linux users. Please add it to your build
-process before filing another bug report agains Boost Debian packages.
+process before filing another bug report against Boost Debian packages.
 
 
 STLport




More information about the pkg-boost-commits mailing list