Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用我制作的 makefile 在 Xcode 中编译一些 fortran 文件。问题是 Xcode 找不到 gfortran 编译器。我有它,因为如果我去控制台并尝试从那里编译它工作得很好。
你知道如何在 Xcode 中添加 fortran 编译器吗?
提前致谢
您应该使用gfortran编译器(此处提供 Mac 的二进制文件)以及 XCode gfortran 插件,那里提供。
Xcode gfortran 插件不适用于最新版本的 Xcode(我相信是 3.2)。