Boost logo

Boost-Build :

Subject: [Boost-build] Determining compiler version
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-10-07 09:18:09

In my jam file I need to set certain options for a particular
compiler-version while setting different options for another version of
the same compiler. I do understand that one can use conditional
requirements to do this.

How does the build system know what compiler-version is actually being
run ? I know that the end-user can choose a toolset equivalent to a
compiler-version but how does the build system actually know that the
executable being invoked in the PATH ( on Windows ) is actually that
compiler-version as opposed to another compiler-version for the same
compiler ? Does compiler-version information have to be set in
user-config.jam for the compiler-version to be used by the build system ?

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at