$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Simons (simons_at_[hidden])
Date: 2005-04-19 10:07:40
I've found the solution for shared-linkage the problem with
icc 8.0.055:
| $ "icpc" -shared foo.cpp
| /usr/bin/ld: -static and -shared may not be used together
Adding -i_dynamic to the linker flags does the trick. The
documentation says:
-i_dynamic link Intel provided libraries dynamically
Presumably, this is only relevant when
-cxxlib-icc link using C++ run-time libraries provided
by Intel
is set too (what it is by default).
So here is the complete entry from the site-config.jam file:
using intel-linux
: 8.0
:
: <cxxflags>"-D__interface=tmpinterface" <linkflags>-i_dynamic
;
Peter