开发者

Build an Xcode project on a Linux machine

开发者 https://www.devze.com 2022-12-30 03:55 出处:网络
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

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?

Ba开发者_如何学Csically, is there an xcodebuild style app for Linux?

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


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.


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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消