NEW TO FORTRAN! I am trying to compile a “hello world” text file, but keep receiving an error in my mac terminal:
(base) name@Names-MacBook-Pro-3 File % gfortran -o test.exe try.f90 c.lang (LLVM option parsing): Unknown command line argument '-x86-pad-for- align=false'. Try: 'clang (LLVM option parsing) --help'.
My fortran version:
GNU Fortran (Homebrew GCC 11.3.0_1) 11.3.0
text file (try.f90) that I wrote in VS:
program try print*,'hello world!' end program try
I tried with a space and without a space before print. The code I am using is from a youtuber who uses Atom text editor and the video is from 2020.
I am stuck. Please help.