Boost logo

Boost Users :

Subject: [Boost-users] Boost static linking
From: Alex Farber (alexf3062_at_[hidden])
Date: 2010-02-25 03:09:38


I am using the Boost library with g++ on Linux. When I built this library, I
executed this command:
./bjam
(without parameters). My lib directory looks like this:
libboost_thread.a
libboost_thread.so
libboost_thread.so.1.41.0
...
Building the project using Thread library, I added boost_thread to the
linker dependencies list. Now my program depends on the shared library
libboost_thread.so.1.41.0.
For my purposes, I need to make static linking, to exclude runtime
dependency. How can I do this?

-- 
View this message in context: http://old.nabble.com/Boost-static-linking-tp27714367p27714367.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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