Hi there,
I'm trying to build Dyninst API 8.2.1 on a CentOS6 x86_64 machine with the
Intel compilers and am not getting very far - I'm hoping that some kind
soul will point me in the right direction.
It seems that cmake starts using windows-style compiler flags:
$ cmake -D BOOST_ROOT=${BOOST_HOME} -D PATH_BOOST=${BOOST_HOME} ../Dyninst-8.2.1
... snip some stuff ...
$ make Scanning dependencies of target DyninstRT
[ 0%] Building DyninstRT
Scanning dependencies of target dyninstAPI_RT
[ 3%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o
icc: error #10236: File not found: '/O2'
icc: error #10236: File not found: '/Zi'
icc: error #10236: File not found: '/MD'
icc: error #10236: File not found: '/D'
icc: error #10236: File not found: 'NDEBUG'
gmake[5]: *** [CMakeFiles/dyninstAPI_RT.dir/src/RTcommon.c.o] Error 1
gmake[4]: *** [CMakeFiles/dyninstAPI_RT.dir/all] Error 2
gmake[3]: *** [all] Error 2
make[2]: *** [CMakeFiles/DyninstRT] Error 2
make[1]: *** [CMakeFiles/DyninstRT.dir/all] Error 2
make: *** [all] Error 2
Is this a known problem, please?
I assume that it is sensible to want to compile with the Intel compiler
for maximum C++ compatibility with software built on top of Dyninst. Is
that right?
Thanks!
Mark
PS I'm using cmake/2.8.12.2 and boost/1.54.0.
|