Compiling using gfortran in Mac

寵の児 提交于 2021-02-17 06:09:09

问题


So bear with me as I am very new to coding. I'm trying to compile a Fortran file but I keep getting this issue in my terminal. I am using GNU Fortran (GCC) 9.2.0 and I believe I have all other prerequisites updated Xcode and atom. Appreciate any and all help spent went way too long just to say hello world.

% gfortran -o myprog hello.f90
ld: library not found for -lSystem
collect2: error: ld returned 1 exit status


来源:https://stackoverflow.com/questions/63032579/compiling-using-gfortran-in-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!