Hi Ralf, On 2008-06-18 22:31:49 +0200, Ralf Wildenhues wrote: > diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 > index a2a4534..4a8d3e5 100644 > --- a/libltdl/m4/libtool.m4 > +++ b/libltdl/m4/libtool.m4 > @@ -3703,8 +3703,15 @@ m4_if([$1], [CXX], [ > _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' > _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' > ;; > - icpc* | ecpc* ) > - # Intel C++ > + ecpc* ) > + # old Intel C++ for x86_64 which still supported -KPIC. > + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' > + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' > + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' > + ;; > + icpc* ) > + # Intel C++, used to be incompatible with GCC. > + # ICC 10 doesn't accept -KPIC any more. > _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' > _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ^^^^^ Shouldn't it be '-fPIC'?
Unfortunately I can't try the patch on the same machine because the icc license has expired a few days ago (it was just an evaluation version). However I have access to another machine with icc installed; this is a different version, but it's also a version that doesn't accept -KPIC, so I assume the test will be significant. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)