Re: List of FTBFS in Ubuntu
On Fri, Dec 10, 2010 at 3:28 PM, Vincent Danjean <vdanjean.ml@free.fr> wrote:
> [C] selection of the "tool chain"
> Comment: this seems to be very boost specific!
Not necessary at the moment.
> For what I saw, there is the MT/no thread choice. Are there others ?
> It is possible that boost will be used by different libraries that will
> built a single program. So, different versions by toolchain must work
> together in a single program. In particular, nowadays, a library using
> boost must suppose that it will be used in a multithreaded program.
> Perhaps a distribution will only provide a single version (MT in this
> case, as for lots of other libraries)
I think that's the case at the moment.
> Now, if we want to use pkg-config (and I think it is a must for such a
> general-purpose library), the choices that must be done by boost users
> must be encoded into .pc name (and only them).
> For [A], it will be the library/'part of boost' name
> For [B]: none
> For [C], it will be a suffix if this is really needed (but, here again,
> support for MT is really a must nowadays for system libraries: are there
> other toolchain selection?)
See http://www.boost.org/doc/libs/1_45_0/more/getting_started/unix-variants.html#library-naming
But ATM you can just do -lboost_filesystem -lboost_system.
The problem is that using some parts of filesystem will mean you also
need to link to system.
Olaf
Reply to: