Boost logo

Boost-Build :

From: Daniel Schlyder (daniel_at_[hidden])
Date: 2006-12-01 02:00:19


Nicola Musatti wrote:
> is it possible to refer to a compiler's path? I need to set the search
> directory for a library to a directory within the compiler's
> installation directory and I'd like to keep it relative; ideally
> something like
>
> <toolset>borland:<search>$(compiler_path)/../Psdk

I use the following to get MinGW root path:

local mingw_bin_path = [ common.get-absolute-tool-path [
                          common.get-invocation-command gcc : gcc ] ] ;
path-constant mingw_root : $(mingw_bin_path:D) ;

HTH.

-- 
Daniel Schlyder

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk