在 Linux 机器上构建 Xcode 项目

发布于 2024-09-01 00:37:09 字数 216 浏览 3 评论 0原文

如果不手动编写 GNUmakefile,是否存在任何工具可以理解 Xcode 项目并可以直接针对 GNUstep 构建它们,生成 Linux 可执行文件,从而(稍微)简化在 Cocoa/Mac 和 GNUstep/Linux 下保持项目功能所需的工作?

基本上,有适用于 Linux 的 xcodebuild 风格的应用程序吗?

几周前我查看了 pbtomake,但它似乎是一个死项目。

Without writing a GNUmakefile by hand, do any tools exist that understand Xcode projects and can build them directly against GNUstep, producing a Linux executable, thus simplifying (slightly) the work required to keep projects functional under Cocoa/Mac and GNUstep/Linux?

Basically, is there an xcodebuild style app for Linux?

I looked at pbtomake a few weeks ago but it seems to be a dead project.

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

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

发布评论

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

评论(4

我纯我任性 2024-09-08 00:37:09

我认为你可以使用 GNUstep pbxbuild ,它与 Mac OS X 不同。我不确定它的功能有多齐全,但绝对值得尝试。

I think you can use GNUstep pbxbuild which is different from the the Mac OS X one. I am not sure how fully featured it is but it's surely worth to try it out.

一场春暖 2024-09-08 00:37:09

听起来你需要看看cocotron。它允许您使用 Cocoa 的子集并针对 OS X、Windows 和 Linux 进行编译。它不是 GNUstep,但它似乎确实适用于我尝试过的东西。编译是在 Xcode 内部完成的,所以它不是 100% 你所要求的。

It sounds like you need to look at cocotron. It lets you use a subset of Cocoa and compile for OS X, Windows and Linux. It's not GNUstep, but it does seem to work for the things I've tried it with. Compiling is done from inside Xcode, so it's not 100% what you were asking for.

岁月流歌 2024-09-08 00:37:09

自己构建一套在 OS X 上运行但针对 Linux 的编译器和 binutils 可能更容易。

Probably easier to build yourself a set of compilers and binutils that run on OS X but target linux.

沙沙粒小 2024-09-08 00:37:09

最好的办法是直接 ssh 到合适的 OS X 机器并在那里进行构建(使用 xcodebuild)。

The best thing would be to just ssh to a proper OS X machine and do the build there (using xcodebuild).

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