[gfortran] add 64 bit off_t for linux/i686 (and maybe some others)

Bud Davis bdavis@gcc.gnu.org
Mon Jul 5 14:32:00 GMT 2004


thanks for the input.  the patch has been amended as shown below.

same change log, same test results.


--bud


Index: gcc/libgfortran/configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/configure.ac,v
retrieving revision 1.5
diff -c -3 -p -r1.5 configure.ac
*** gcc/libgfortran/configure.ac	4 Jul 2004 09:06:54 -0000	1.5
--- gcc/libgfortran/configure.ac	5 Jul 2004 14:28:03 -0000
*************** F77="$GFORTRAN"
*** 144,149 ****
--- 144,150 ----
  AC_PROG_F77(gfortran)
  FFLAGS="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
  
+ AC_SYS_LARGEFILE
  AC_FUNC_MMAP
  AC_TYPE_OFF_T
  
*************** AC_CHECK_LIB([m],[roundf],[AC_DEFINE([HA
*** 166,171 ****
--- 167,173 ----
  AC_CHECK_LIB([m],[nextafter],[AC_DEFINE([HAVE_NEXTAFTER],[1],[libm includes nextafter])])
  AC_CHECK_LIB([m],[nextafterf],[AC_DEFINE([HAVE_NEXTAFTERF],[1],[libm includes nextafterf])])
  
+ 
  # Let the user override this
  AC_ARG_ENABLE(cmath,
  	AC_HELP_STRING([--enable-cmath],[Include complex math functions]),




More information about the Fortran mailing list