fortran - gfortran not working on osx yosemite -
i installed fortran on macbook pro mid 2011 running os x yosemite. when seek compile code, this:
gfortran: warning: couldn’t understand kern.osversion ‘14.0.0 ld: library not found -lcrt1.o collect2: error: ld returned 1 exit status
this due fact mac os x's headers not c99/c++98 compatible. see bug 61407 @ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407. bug study provides patch.
fortran osx-yosemite gfortran
No comments:
Post a Comment