as simple as adding compiler argument “-m32”

for example, my fortran compiler is gfortran, then to compile old 32bit fortran code:

gfortran -m32 <infile> -o <outfile>

that is.

 

Advertisements