Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-17 09:26:56


Jonathan Wakely wrote:

>> I install them into <prefix>/lib/pkgconfig. That of course requires the
>> PKG_CONFIG_PATH to be set. That is basically the same procedure as
>> setting the LD_LIBRARY_PATH if libraries are installed in places not
>> automatically looked in by the library loader.
>
> And IMHO that's an important point, just by using a different
> PKG_CONFIG_PATH you can link to a completely different set of libs:
>
> make PKG_CONFIG_PATH=$HOME/my_local_version_of_boost
> or
> make CXX=g++41 PKG_CONFIG_PATH=$HOME/boost_built_with_gcc41
>
> I wouldn't have to change the Makefile at all for this to work.

Pretty cool, I'd say. And, BTW, does pkg-config have any documentation
besides extra lean man page? I could not find any.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk