Hi Robert
Here's an update on my icc-patch
I have checked how my patch works from CVS HEAD now against icc 7.0. It
finally seems Intel with version 7.0 has made a usefull standard C++ library.
I have even be able to compile at full working KDE-suite.
Libtool CVS just need to following additional patch to compile KDE, it does 2
things:
1. Change ld-option flag from Qoption ld to GNU syntax -Wl. This is because
the first form does not expand inline, and that's needed for --whole-archive.
(icc 5.0 does not support -Wl, but since it doesnt compile libltdl anyway I
consider it unsupported)
2. I have removed the -nostdlib option, since this prevents icpc from linking
with it's own C++ library (libcxa and libunwind)
Patch attached.
Greetings
`Allan
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.298
diff -u -3 -p -r1.298 libtool.m4
--- libtool.m4 6 Feb 2003 04:51:20 -0000 1.298
+++ libtool.m4 15 Feb 2003 23:13:03 -0000
@@ -2982,8 +2982,8 @@ case $host_os in
# Intel C++
with_gnu_ld=yes
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
@@ -4464,7 +4464,7 @@ AC_MSG_CHECKING([for $compiler option to
;;
icpc)
# Intel C++
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption,ld,'
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
@@ -4692,7 +4692,7 @@ AC_MSG_CHECKING([for $compiler option to
linux*)
if test "$CC" = "icc"; then
- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption,ld,'
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
fi
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool