Dear Fortran guys!

This is my first post; kindly inform me, if I did anything wrong :-)
I am using gfortran (M1) from hpc.sourceforge.net <http://hpc.sourceforge.net/> 
on my Apple Macbook Pro M1. I just create my executable via:

gfortran Pmain.f psub.F -o prog_m1

This only works on my machine. On Apple Intel Macbook Pros the response in the 
terminal is a.o. "bad cpu type".
Is there a possibility to create something like a "universal binary" in 
gfortran, which works as well for M1- and Intel-CPUs? In case of, what would be 
the option to call the compiler, how would it look like?

Remark: Is there a Fortran-guru here living in Aachen, Germany, too?

Reply via email to