Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with Intel compiler and pch support
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-01 04:12:58


On Sunday 26 October 2008 21:47:24 John Maddock wrote:
> 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!

I'll take a look.

> 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...

Did you had the chance to investigate? Is any help needed from me. If you're
out of time, we probably should file a ticket.

- Volodya


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