大学の講義でgfortranを使用した計算を行っているのですが、
テキストエディタは使い勝手が悪く、Xcodeで行いたいと思い
PythonをXcodeで使用するやり方を記載したブログを真似てgfortranを動かしたのですが
うまく動きません。
https://qiita.com/Cremokoroah/items/1fe8396de291a8c12d08
Xcodeはgfortranに対応していないのでしょうか?
またXcodeよりおすすめのMacでのエディタがあれば教えていただきたいです。
####出ているエラー
gfortran: fatal error: no input files compilation terminated. Command ExternalBuildToolExecution failed with a nonzero exit code
####ターミナルでコマンドを打つと
% which gfortran >>>/usr/local/bin/gfortran % gfortran -v >>>組み込み spec を使用しています。 COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin18/8.2.0/lto-wrapper ターゲット: x86_64-apple-darwin18 configure 設定: ../gcc-8.2.0/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/devel/gcc/build_package/deps --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin18 --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk スレッドモデル: posix gcc バージョン 8.2.0 (GCC)
よろしくお願いします。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/04/17 05:34