diff options
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/config/rs6000-ibm-aix4.x | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/fortran/config/rs6000-ibm-aix4.x b/fortran/config/rs6000-ibm-aix4.x index 2f7cc86..bb2e2a7 100644 --- a/fortran/config/rs6000-ibm-aix4.x +++ b/fortran/config/rs6000-ibm-aix4.x @@ -8,3 +8,34 @@ # Cross compiling defaults ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'} + + +# The default Fortran 90 compiler + +# +# HDF5 integers +# +# R_LARGE is the number of digits for the bigest integer supported. +# R_INTEGER is the number of digits in INTEGER +# +# (for the AIX architechture) +# +R_LARGE=18 +R_INTEGER=9 +HSIZE_T='SELECTED_INT_KIND(R_LARGE)' +HSSIZE_T='SELECTED_INT_KIND(R_LARGE)' +HID_T='SELECTED_INT_KIND(R_INTEGER)' +SIZE_T='SELECTED_INT_KIND(R_INTEGER)' +OBJECT_NAMELEN_DEFAULT_F=-1 + +if test "X-" = "X-$F9X"; then + F9X=xlf +fi + +if test "X-" = "X-$f9x_flags_set"; then + FFLAGS="-static -O -qsuffix=f=f90 -qmoddir=$TMPDIR -I$TMPDIR -k" + DEBUG_FFLAGS="-O" + PROD_FFLAGS="-O" + PROFILE_FFLAGS="-O" + f9x_flags_set=yes +fi |