简体   繁体   中英

How to build a Mac application?

I'm a Linux geek

After asking on mailing-list, search on internet, read a book about mac programming,...

My questions is simple:

  1. How to compile a Mac application ?

Is a there a special commandline as with windows:

cc -mwindows -lmingw32 ...

  1. How to deal with the *.dyn.lib for packaging ?

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM