Skip to content

Commit

Permalink
added I8 flag to convert integers to 64bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dalekopera committed Jan 13, 2024
1 parent 4c93bdf commit d1bf9f0
Show file tree
Hide file tree
Showing 37 changed files with 39 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.compiler
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ suggestions and examples.
Current atribute are (with defaults/options):

FORTRAN fortran compiler command (gfortran, ifort, nagfor, etc)
BASIC compiler basic compile options (-c)
BASIC compiler basic compile options (-c -fPIC)
MBASIC compiler basic compile options for matlab (-fPIC)
I8 compiler flag to convert integers to 64bit (-i8)
LIBCMD compiler link library options
MODCMD compiler module create options (-module $MOD -I$MOD)
MODCMDB compiler module access options (-I$MOD)
Expand Down
1 change: 1 addition & 0 deletions compiler.all.all.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.all.all.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifort'
BASIC='-c -fpic -fpp -diag-disable=10441 -diag-disable=3850'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.all.all.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifort'
BASIC='-c -fpic -fpp'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.binarybuilder.bb.fc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
FORTRAN='$(FC)'
BASIC='-c -fno-second-underscore -fPIC'
MBASIC='-fno-second-underscore -fPIC'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.cry.unc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='f90'
BASIC='-c -ep'
LIBCMD=''
I8='-i8'
MODCMD='-p $MOD -I $MOD'
MODCMDB=$MODCMD
MVMODS=''
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran-13'
BASIC='-c -fPIC -fno-second-underscore -flat_namespace -cpp'
MBASIC='-fPIC -fno-second-underscore -flat_namespace -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifort'
BASIC='-c -fpic -fpp -fpp -diag-disable=10441 -diag-disable=3850'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.fla
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='flang'
BASIC='-c -fPIC'
MBASIC='-fPIC'
I8='-fdefault-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#FORTRAN='ifc'
FORTRAN='ifort'
BASIC='-c -fpic -fpp -diag-disable=10441 -diag-disable=3850 -diag-disable=10448'
I8='-integer-size 64'
LIBCMD=''
#for ifc pre version 7 replace next line by
#MODCMD='-cl,$MOD/work.pcl -Vaxlib'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifx'
BASIC='-c -fpic -fpp'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.l95
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='lf95'
BASIC='-c'
LIBCMD=
I8='-i8'
MODCMD='-M$MOD -I$MOD'
MODCMDB=$MODCMD
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.nvc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC'
MBASIC='-fno-second-underscore -fPIC'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='xlf95'
BASIC='-c -qhalt=s -qmaxmem=-1 -qspillsize=20000'
LIBCMD=''
I8='-i8'
MODCMD='-qmoddir=$MOD -I $MOD'
MODCMDB=$MODCMD
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.dgf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
FORTRAN='f90'
BASIC='-c'
LIBCMD=''
I8='-i8'
MODCMD='-I$MOD'
MODCMDB=$MODCMD
MVMODS='$(MV) -f $(OBJ)/*.mod $(MOD)/'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
FORTRAN='ifort -nologo'
BASIC='-c -fpic -fpp -diag-disable=10441 -diag-disable=3850'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module:$MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.fla
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='flang'
BASIC='-c -fPIC'
MBASIC='-fPIC'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g10
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran-10'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g11
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran-11'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g12
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran-12'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifort'
BASIC='-c -fpic -fpp -diag-disable=10441 -diag-disable=3850'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='ifx'
BASIC='-c -fpic -fpp'
LIBCMD=''
I8='-integer-size 64'
MODCMD='-module $MOD -I$MOD'
MODCMDB='-I$MOD'
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.l95
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='lf95'
BASIC='-c'
LIBCMD=
I8='-i8'
MODCMD='-M$MOD -I$MOD'
MODCMDB=$MODCMD
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.nvc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC'
MBASIC='-fno-second-underscore -fPIC'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.nvf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='nvfortran'
BASIC='-c -fpic'
MBASIC='-fpic'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='xlf95'
BASIC='-c -qhalt=s -qmaxmem=-1 -qspillsize=20000'
LIBCMD=''
I8='-i8'
MODCMD='-qmoddir=$MOD -I $MOD'
MODCMDB=$MODCMD
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.msys2.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

FORTRAN='gfortran -fno-second-underscore'
BASIC='-c -fno-second-underscore'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.ppc.aix.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.ppc.aix.x95
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='xlf95'
BASIC='-c -qhalt=s -qmaxmem=-1 -qspillsize=20000'
LIBCMD=''
I8='-i8'
MODCMD='-qmoddir=$MOD -I $MOD'
MODCMDB=$MODCMD
MVMODS=':'
Expand Down
1 change: 1 addition & 0 deletions compiler.sun.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FORTRAN='gfortran'
BASIC='-c -fno-second-underscore -fPIC -cpp'
MBASIC='-fno-second-underscore -fPIC -cpp'
I8='-finteger-4-integer-8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down
1 change: 1 addition & 0 deletions compiler.sun.sol.n95
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FORTRAN='nagfor'
# for compiler version pre 5.2 replace by
#FORTRAN='f95'
BASIC='-c -dcfuns -quiet -fpp'
I8='-i8'
LIBCMD=''
MODCMD='-I$MOD'
MODCMDB=$MODCMD
Expand Down

0 comments on commit d1bf9f0

Please sign in to comment.