]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Initial support for Lahey Fortran on GNU/Linux.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 21 Aug 2008 22:48:11 +0000 (00:48 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 21 Aug 2008 22:48:11 +0000 (00:48 +0200)
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
[linux] <lf95>: Add support for Lahey Fortran 8.1.
* NEWS, THANKS: Update.
Suggested by Craig Tierney.

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

index 6281da7a1022f044ef8ee9407664d8da514a3d1f..13cc2af83a8810e2052b0bb5f3e92b55f7b82d34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Initial support for Lahey Fortran on GNU/Linux.
+       * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
+       [linux] <lf95>: Add support for Lahey Fortran 8.1.
+       * NEWS, THANKS: Update.
+       Suggested by Craig Tierney.
+
 2008-08-21  Sam Thursfield  <ssssam@gmail.com>  (tiny change)
 
        Avoid leading separator in PATH for DLL search.
diff --git a/NEWS b/NEWS
index 52f880492c5c5a074c41433bc8de08ee000e0fc7..e0d1062e4923c13c1dd5a433365f0f307d27d7db 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team:
     on GNU/Linux.
   - Support cross compile of MinGW with Wine.
   - Initial support for cegcc (Windows CE/PocketPC) cross compilation.
+  - Initial support for lf95 (Lahey Fortran 8.1) on GNU/Linux.
 
 * Bug fixes:
 
diff --git a/THANKS b/THANKS
index 1e48a00d2d292dfe6327b311290a270124bd45f6..d6f485187dd1ff1404b2870ad4fb7f2c0fe406c7 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -78,6 +78,7 @@
   Christian Biesinger          cbiesinger@web.de
   Christoph Egger              Christoph_Egger@gmx.de
   Christopher Hulbert          cchgroupmail@gmail.com
+  Craig Tierney                        Craig.Tierney@noaa.gov
   Dalibor Topic                        robilad@kaffe.org
   Daniel Reed                  n@ml.org
   DJ Delorie                   dj@delorie.com
index 79f58f863f46108994869601f55f717ee47afff6..fb5f178e60ba63aee7fb706abaac767ae5fea7ee 100644 (file)
@@ -3992,6 +3992,12 @@ m4_if([$1], [CXX], [
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
+      # Lahey Fortran 8.1.
+      lf95*)
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+       ;;
       pgcc* | pgf77* | pgf90* | pgf95*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
@@ -4378,6 +4384,9 @@ _LT_EOF
          tmp_addflag=' -i_dynamic -nofor_main' ;;
        ifc* | ifort*)                  # Intel Fortran compiler
          tmp_addflag=' -nofor_main' ;;
+       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)
          tmp_sharedflag='-qmkshrobj'
          tmp_addflag= ;;