compilationcompiler-flagsxl-fortran

Promoting integers to 8 bytes including those with explicit declaration using IBM xlf compiler


When I use gfortran the flag -finteger-4-integer-8 does the job.

However, I'm looking for xlf's equivalent flag, -qintsize=8 is the equivalent of -fdefault-integer-8, but I haven't been able to find -finteger-4-integer-8's analog.


Solution

  • The XL Fortran compiler does not have an equivalent option to gfortran's -finteger-4-integer-8 option. (I'm an XL Fortran compiler developer.)