Boost logo

Boost Users :

Subject: [Boost-users] [linking] simplifying compilation line with many boost libs
From: alfC (alfredo.correa_at_[hidden])
Date: 2011-06-15 15:28:24

This post is mainly about the linux distribution of boost, oriented to

Given the lack of pgk-config for linux and the lack of linking pragmas
in g++ I am wondering if somebody investigated the possibility of
having all boost binary libraries in one file or something like that.

Such that

compilation line
c++ -lboost_regex -lboost_system -lboost_filesystem -lboost_mpi -
lboost_serialization ...

can be simplified into

c++ -lboost_all

or simply
c++ -lboost

where have the contents of all boost libraries or
references to the other boost_*.so

the idea is to simplify sharing short code with other people not
familiar with boost itself.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at