run the iclvars.bat batch file.
Then I use bjam like this:
C:\dev\boost\boost_1_31_0_icc>bjam "-sTOOLS=intel-win32" "-sINTEL_VERSION=80" "-sINTEL_BASE_MSVC_TOOLSET=vc7.1"
But when compiling I get these errors from each command to the compiler:
/Zm800 -nologo -GX -c -DNDEBUG -DNDEBUG -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_DYN_LINK=1 /Ogity /O2 /Gs /Ob2 /GX /GR /MD /Op /Zc:forScope /Zc:wchar_t /Qwn5 /Qwd985 -Qoption,c,--arg_dep_lookup /Qansi_alias -D_NATIVE_WCHAR_T_DEFINED /Qvc7.1 -I"bin\boost\libs\date_time\build" -I"C:\dev\boost\boost_1_31_0_icc" -I"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\include" -Fo"bin\boost\libs\date_time\build\boost_date_time.dll\intel-win32\release\greg_weekday.obj" -Tp"C:\dev\boost\boost_1_31_0_icc\libs\date_time\build\../src/gregorian/greg_weekday.cpp"
...failed vc-C++ bin\boost\libs\date_time\build\boost_date_time.dll\intel-win32\release\greg_weekday.obj...
vc-C++ bin\boost\libs\date_time\build\boost_date_time.dll\intel-win32\release\date_generators.obj
'/Zm800' is not recognized as an internal or external command,operable program or batch file.