I have a large legacy code compiled for intel's ifort compiler, and I'm trying to compile it with gfortran. The original code saves unformatted files with 4-byte integers. I need to do the same with gfortran, but the only relevant compiler option I've seen is -fdefault-integer-8, not -4.
I'd like a way to do this through compiler options if possible, changing all the declarations from integer to integer*4 is a last resort.
Thanks!
I'd like a way to do this through compiler options if possible, changing all the declarations from integer to integer*4 is a last resort.
Thanks!