Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with Intel compiler and pch support
From: John Maddock (john_at_[hidden])
Date: 2008-10-26 14:47:24

Vladimir Prus wrote:
>>> Almost.... unfortunately it appears that regardless of whatever
>>> name you specify for the pch file Intel appends an "i" to the name,
>>> so now it generates a file with the .pchii extension and so
>>> dependency checking still fails :-(
>> How nice. I presume, next version of compiler is going to just
>> generate a random
>> name :-/

LOL, more than likely! :-)

>> Please try the attached. The reason for the empty file is that those
>> copy-pasted rules also use a local variable in msvc.jam --
>> .escaped-double-quote -- which was not copy pasted. Yes, I know that
>> this kind of 'inheriting' toolset definitions is a mess.

Almost gets it - but dependency tracking is still broken. However, I've
just committed a version that fixes that as well by simply copying the
actual pch file generated to the file name that BB expects. Let me know if
there's a better way!

Meanwhile, I've *almost* got the intel-linux pch support working, but I'm
not sure if the command lines are quite right yet, as the compiler is
emitting some warnings about not being able to use the pch file. Will
investigate this some more...


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