带有 Fortran 的 Xcode

发布于 2024-08-14 07:13:50 字数 161 浏览 3 评论 0原文

我正在尝试使用我制作的 makefile 在 Xcode 中编译一些 fortran 文件。问题是 Xcode 找不到 gfortran 编译器。我有它,因为如果我进入控制台并尝试从那里编译它效果很好。

你知道如何将 fortran 编译器添加到 Xcode 中吗?

提前致谢

I'm trying to compile some fortran files in Xcode, using a makefile made by me. The problem is that Xcode can't find gfortran compiler. I have it, because if I go to console and try to compile from there it works well.

Do you know how to add fortran compiler to Xcode.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

贪了杯 2024-08-21 07:13:50

您应该使用 gfortran 编译器(适用于 Mac 的二进制文件可用 此处)以及 XCode gfortran 插件,可使用

You should use the gfortran compiler (binaries for Mac available here) along with the XCode gfortran plugin, available there.

卖梦商人 2024-08-21 07:13:50

Xcode gfortran 插件不适用于最新版本的 Xcode(我相信是 3.2)。

The Xcode gfortran plugin does not work with the latest version of Xcode (3.2 I believe).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文