简体   繁体   English

如何建立Mac应用程式?

[英]How to build a Mac application?

I'm a Linux geek 我是Linux怪胎

After asking on mailing-list, search on internet, read a book about mac programming,... 在询问邮件列表之后,在互联网上搜索,读了一本有关mac编程的书,...

My questions is simple: 我的问题很简单:

  1. How to compile a Mac application ? 如何编译Mac应用程序?

Is a there a special commandline as with windows: 与Windows一样,有一个特殊的命令行:

cc -mwindows -lmingw32 ...

  1. How to deal with the *.dyn.lib for packaging ? 如何处理* .dyn.lib进行打包?

Thanks for giving clear answers to my question because I have try all and nothing to do for building an app...!!!! 感谢您为我的问题提供了清晰的答案,因为我已经尝试了所有事情,但对于构​​建应用程序却无所事事!

Sorry for the tone of the post but I'm weak for this theme. 对帖子的语气感到抱歉,但我对此主题比较虚弱。

Thanks for your answers 谢谢你的回答

This is hard. 这很难。 There is some work done by the OpenTTD team here but it might be too outdated. OpenTTD团队在这里做了一些工作,但是可能已经过时了。

You could try using osxcross which is a cross compilation toolchain ready for work but you probably won't be able to link to native frameworks. 您可以尝试使用osxcross ,这是一个可以开始工作的交叉编译工具链,但是您可能无法链接到本机框架。

Generally speaking, it might be a lot easier to just use Travis to compile for Mac if you're a heavy Linux user and don't have access to Macs. 一般而言,如果您是Linux的重度用户并且无法访问Mac,那么仅使用Travis为Mac编译可能会容易得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以为Mac和Linux构建Visual Studio应用程序? 任何可用的“扩展名” - Is it possible to build a Visual Studio application for Mac and Linux? Any “extensions” available 如何在 Mac OSX 上使用 Buildroot 构建 MIPS RISC? - How to build with a Buildroot the MIPS RISC on Mac OSX? 如何在Linux中签署Mac OS X应用程序? - How to sign a Mac OS X application in Linux? 如何在 Mac 或 linux 上的 .NET Core 上构建多目标解决方案? - How to build multi-target solution on .NET Core on Mac or linux? 如何在 Linux 中运行为 Windows 和 Mac 构建的 .jar 文件? - How can I run a .jar file that was build for Windows and Mac in Linux? 在Linux和Mac中构建库 - Build libraries in linux and mac 如何为 debian:jessie 构建 .net 核心应用程序 - How to build .net core application for debian:jessie 如何使用Docker映像构建应用程序? - How do I build an application with a docker image? 如何在 Linux 中使用 Maven 构建 Flink 应用程序 - How to build a Flink application with Maven in Linux 如何将FFProbe编译为独立应用程序? (于Mac / Linux的/胜) - How to compile FFProbe as stand-alone application? (Mac/Linux/Win)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM