Subject: Re: [Boost-build] Problem with Intel compiler and pch support
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-25 12:54:01
On Saturday 25 October 2008 19:04:07 John Maddock wrote:
> John Maddock wrote:
> >> Trying to compile a project that has pch support with the intel
> >> toolset on
> >> win32 results in a bbv2 failure:
> Ping anyone?
> Just to reiterate, any project that uses pch's is currently unbuildable with
> any intel toolset.
For intel-linux, can you try the attached? It produces the following commands:
"icpc" -x c++-header -O0 -g -Ob0 -w1 -fPIC -DBOOST_BUILD_PCH_ENABLED -I"include" -c -create_pch "bin/intel-linux/debug/include/pch.hpp.pch" "include/pch.hpp"
"icpc" -c -xc++ -O0 -g -Ob0 -w1 -fPIC -DBOOST_BUILD_PCH_ENABLED -I"include" "-use_pch "<pbin/intel-linux/debug>include/pch.hpp.pch -c -o "bin/intel-linux/debug/hello_world.o" "source/hello_world.cpp"
I'm not exactly sure how right is this -- hopefully you can tell what changes to the command line should be made?
BTW, it's recommended not to ask questions by replying to unrelated email -- this is makes it
easy for email to get lost.
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