Boost logo

Boost-Build :

From: reisrocks (reisrocks_at_[hidden])
Date: 2008-06-04 04:58:57


Hi,

I'm trying to get bjam to work with intel 9.1 EM64T.

Running: bjam --toolset=intel-win address-model=64

gets me a 32 bit compile.

However running the Intel environment in the shell:

C:\\Program Files (x86)\\Intel\\Compiler\\C++\\9.1\\EM64T\\Bin\\iclvars.bat

And running that bjam command again gets me to compile the hello example in 64 bit.. great, however when I try using this sheel to compile some boost libraries, it's a no go (see further).

I'm wondering if this is the right way to setup my environment in the first place.

Why won't this take care of my environment in the first place with something like this in my user-config.jam:

using intel : 9.1 : "C:\\Program Files
(x86)\\Intel\\Compiler\\C++\\9.1\\IA32\\Bin\\icl.exe" :
<setup>"C:\\Program Files
(x86)\\Intel\\Compiler\\C++\\9.1\\IA32\\Bin\\iclvars.bat";
nore
using intel : 9.1 : "C:\\Program Files
(x86)\\Intel\\Compiler\\C++\\9.1\\EM64T\\Bin\\icl.exe" :
<setup>"C:\\Program Files
(x86)\\Intel\\Compiler\\C++\\9.1\\EM64T\\Bin\\iclvars.bat";

Why do I need to explicitely run my intel 64 environment in the shell first?

Secondly I'm getting some errors when trying to compile boost, my OS tries to open the rsp files on each compile-c-c++ line.

...patience...
...found 1141 targets...
...updating 275 targets...

file bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic_archive.
obj.rsp
"libs\serialization\src\basic_archive.cpp"
 -Fo"bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic_archive.
obj"
   -TP
 /O2
 /Ob2
 /W3
 /GR
 /MT
 /Zc:forScope
 /Zc:wchar_t
 /Ogiy
 /Gs
 /Ot
 /Op
 /Qwn5
 /Qwd985
 -Qoption,c,--arg_dep_lookup
 -Qoption,cpp,--arg_dep_lookup
 /wd4675
 /EHs
 -c

-DBOOST_ALL_NO_LIB=1

-DNDEBUG

"-I."

[A dialog pops up here! : Windows cannot open this file basic_archive.obj.rsp : to open this file, windows needs to know what program created it.... etc.]

compile-c-c++ bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic
_archive.obj

     @"bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic_archiv
e.obj.rsp"

file bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic_archive_
impl.obj.rsp
"libs\serialization\src\basic_archive_impl.cpp"
 -Fo"bin.v2\libs\serialization\build\intel-win\release\address-model-64\link-static\runtime-link-static\threading-multi\basic_archive_
impl.obj"
   -TP
 /O2
 /Ob2
 /W3
 /GR
 /MT
 /Zc:forScope
 /Zc:wchar_t
 /Ogiy
 /Gs
 /Ot
 /Op
 /Qwn5
 /Qwd985
 -Qoption,c,--arg_dep_lookup
 -Qoption,cpp,--arg_dep_lookup
 /wd4675
 /EHs
 -c

-DBOOST_ALL_NO_LIB=1

-DNDEBUG

"-I."

[A dialog pops up here! : Windows cannot open this file
basic_archive_impl.obj.rsp : to open this file, windows needs to know what
program created it.... etc.]

ETC.

What am I doing wrong?

Thanks in advance.

Reis.

      



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