[Rd] [PATCH] Add fpicflags for Intel(R) Fortran Compiler (PR#8344)

From: <kugelfang_at_gentoo.org>
Date: Tue 22 Nov 2005 - 14:50:25 GMT


Full_Name: Danny van Dyk
Version: R-2.2.0
OS: Gentoo/AMD64
Submission from: (NULL) (83.129.50.65)

I have successfully compiled R-2.2.0 using ifc-9.0.026 on my x86_64 box. The only (minor) change that hade to be made was adding fpicflags="-fPIC" to configure.ac in case F77 matches either "ifc" (old name) or "ifort" (new name).

Please apply following patch:

dvandyk@phi trunk $ svn diff

        Index: configure.ac


-## Step 2. GNU compilers.
+## Step 2. GNU and Intel compilers.

 if test "${GCC}" = yes; then
   cpicflags="-fPIC"
   shlib_ldflags="-shared"
@@ -954,6 +954,11 @@

   cxxpicflags="-fPIC"
   shlib_cxxldflags="-shared"
 fi
+case "${F77}" in

+ ifc|ifort)
+ fpicflags="-fPIC"
+ ;;
+esac

 ## Step 3. Individual platform overrides.  case "${host_os}" in


Danny



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Nov 23 02:16:39 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:34 GMT