|
Boost : |
From: Domenico Andreoli (cavokz_at_[hidden])
Date: 2007-07-30 06:40:24
On Mon, Jul 30, 2007 at 02:04:31PM +0400, Vladimir Prus wrote:
> Domenico Andreoli wrote:
>
> >> How? pkgconfig is of no help, since it apparently does not understand
> >> "give me libraries to link with when using icc" request.
> >
> > pkg-config is a de-facto standard but it's still not mandatory :)
> >
> > it would be enough to have a script, a batch or whatever (a binary built
> > using bjam!) which invoked with the right parameters (i.e. toolkit,
> > variant, etc.) is able to build the library name on any system supported
> > by boost.
> >
> > e.g:
> >
> > 1) boost-config --module=date_time --variant=mt --toolkit=gcc
> > --toolkit-version=4.2 --cxxflags
> >
> > everything is specified, the script has nothing to invent. c++
> > precompiler flags are requested.
>
> I agree that *if* we decide that on Unix, we need all those variants,
> then such a approach will be useful -- it means users who cares about
> just some boost to link to will use 'boost-config --cxxflags', while
> users that want more specific variant won't have to explicitly
> specify all parts of the name.
>
> But I'd say that first we need to decide what variants should actually
> be built.
for what i understood, at least single-thread and multi-thread variants
are desired.
-----[ Domenico Andreoli, aka cavok
--[ http://www.dandreoli.com/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk