]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Initial port for BlueGene BG/L.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 08:36:17 +0000 (10:36 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 2 May 2009 08:36:17 +0000 (10:36 +0200)
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
compilers.
* NEWS, THANKS: Update.
Report, feedback and testing by John R. Cary and Christian
Rössel.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
THANKS
libltdl/m4/libtool.m4

index 34207c48ad6e614ad2483e9ebc5b0ae406873523..df905a123fb46fb723d9d7307731b35771a77fb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Initial port for BlueGene BG/L.
+       * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
+       (_LT_LANG_CXX_CONFIG) [linux]: Detect bgxl*, bgf*, mpixl*
+       compilers.
+       * NEWS, THANKS: Update.
+       Report, feedback and testing by John R. Cary and Christian
+       Rössel.
+
        manual: fix grammaros.
        * doc/libtool.texi (Dlpreopening): Fix grammaro.
        (C header files): Remove duplicate word.
diff --git a/NEWS b/NEWS
index ec9c83579b4add4df50639f7798a5632882d5fcd..4def4ca29d4752829be66f240c8e420783d2ee95 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
   - Improved support for 64bit Windows (mingw64).
   - Improved support for cegcc (Windows CE/PocketPC).
   - Support for GNU/kOpenSolaris (kopensolaris*-gnu).
+  - Initial support for compilers on BlueGene BG/L.
 
 * Bug fixes:
 
diff --git a/THANKS b/THANKS
index 431a30843caf208533fae8e2524659e0d7300a50..f387d1a961bb31ab8cc040276bcc18ed006bd6ae 100644 (file)
--- a/THANKS
+++ b/THANKS
   Joel N. Weber II             devnull@gnu.org
   Joerg Sonnenberger           joerg@netbsd.org
   John Bowler                  jbowler@acm.org
+  John R. Cary                 cary@txcorp.com
   John Wolfe                   jlw@sco.com
   Joseph Beckenbach III                jrb3@best.com
   Karl Berry                   karl@freefriends.org
index 8e4bca99779b4fcec08237fc34d9b157f63e7014..f76c9b1feba429e822e8caf1609bf89ba7d64a32 100644 (file)
@@ -3680,8 +3680,8 @@ m4_if([$1], [CXX], [
            _LT_TAGVAR(lt_prog_compiler_pic, $1)=
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
            ;;
-         xlc* | xlC*)
-           # IBM XL 8.0 on PPC
+         xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+           # IBM XL 8.0, 9.0 on PPC and BlueGene
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -3964,8 +3964,8 @@ m4_if([$1], [CXX], [
         # All Alpha code is PIC.
         _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
         ;;
-      xl*)
-       # IBM XL C 8.0/Fortran 10.1 on PPC
+      xl* | bgxl* | bgf* | mpixl*)
+       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
@@ -4342,7 +4342,7 @@ _LT_EOF
        lf95*)                          # Lahey Fortran 8.1
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
          tmp_sharedflag='--shared' ;;
-       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
+       xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
          tmp_sharedflag='-qmkshrobj'
          tmp_addflag= ;;
        esac
@@ -4364,7 +4364,7 @@ _LT_EOF
         fi
 
        case $cc_basename in
-       xlf*)
+       xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
@@ -5910,7 +5910,7 @@ if test "$_lt_caught_CXX_error" != yes; then
            # dependencies.
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
            ;;
-         xl*)
+         xl* | mpixl* | bgxl*)
            # IBM XL 8.0 on PPC, with GNU ld
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'