libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

support for Intel icc and ecc


From: Bruno Haible
Subject: support for Intel icc and ecc
Date: Sat, 29 Mar 2003 13:11:44 +0100 (CET)

Here is support for Intel icc (on x86) and Intel ecc (on ia64) on Linux.
With this patch, libtool can build shared libraries and passes the testsuite.


2002-01-12  Bruno Haible  <address@hidden>

        * libtool.m4: Add support for Intel icc.

*** libtool-1.4.3/libtool.m4    2002-10-23 02:45:04.000000000 +0200
--- libtool.m4  2003-02-16 14:01:42.000000000 +0100
***************
*** 919,924 ****
--- 922,940 ----
        # PIC (with -KPIC) is the default.
        ;;
  
+     linux*)
+       echo '__INTEL_COMPILER' > conftest.$ac_ext
+       if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null
+       then
+         lt_cv_prog_cc_can_build_shared=no
+       else
+         # Intel icc
+         lt_cv_prog_cc_pic='-KPIC'
+         lt_cv_prog_cc_static='-static'
+         lt_cv_prog_cc_wl='-Qoption,ld,'
+       fi
+       ;;
+ 
      cygwin* | mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]