Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with Intel compiler and pch support
From: John Maddock (john_at_[hidden])
Date: 2008-10-22 13:32:52

John Maddock wrote:
>> Trying to compile a project that has pch support with the intel
>> toolset on
>> win32 results in a bbv2 failure:

Intel on Linux has the same issue:

jm_at_jm-laptop:~/boost/sandbox/math_toolkit/libs/math/build$ bjam intel
Error: ambiguity found when searching for best transformation
Trying to produce type 'CPP_PCH' from:
 - { ../src/tr1/pch.hpp.HPP }
Generators that succeeded:
 - pch.default-cpp-pch-generator
 - intel-linux.compile.c++.pch
First generator produced:
Second generator produced:
 - { intel-linux%intel-linux.compile.c++.pch-../src/tr1/pch.hpp.pch.CPP_PCH
{ ../src/tr1/pch.hpp.HPP } }

Unfortunately the compiler appears not to imitate gcc's support, but instead
uses a more Win32 like mechanism, there's a description here: Likewise sun's
compiler uses a similar mechansim:

If someone can suggest patches I can happily test them here.

Thanks, John.

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