Mac运行exe的几种方法,欢迎补充!

本文介绍了在Mac OS上运行Windows应用程序的多种方法,包括使用Wine直接运行EXE文件、通过MacOS终端运行Mono编译后的EXE、利用Mono GTK#及MonoMac等工具进行开发。此外还对比了不同工具包的特性、支持平台和许可证。

1. 用wine直接运行exe。安装wine后有个放exe的文件夹,双击后会自动包装运行。看起来挺方便的,就怕暂用资源比较大;

http://www.youtube.com/watch?v=eYISVQBBkJI

http://winebottler.kronenberg.org/ (推荐)

http://linfan.info/blog/2012/03/01/wine-mac/

http://wiki.winehq.org/

 

2. 用mac os 终端运行mono编译后的exe;有个问题,这个终端窗口关闭则exe窗口也会关闭;

http://www.cnblogs.com/codelove/archive/2011/12/10/2282984.html

 

3. Mono GTK# Application;

http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app

 

4. 用MonoMac,但学习成本比较大;

http://www.infoq.com/cn/news/2010/05/MonoMac

http://www.cnblogs.com/shanyou/archive/2011/01/28/monomac.html

 

ToolkitRuns on LinuxRuns on WindowsRuns on MacBinding StyleLicenseStatus
MonoMacnonoyesStrongly typed C# binding to Cocoa APIsMIT X11Actively developed, builds on the design lessons from MonoTouch but still incomplete. This will be the new default binding for Mono on OSX. Separate download.
Gtk#yesyesyesStrongly typed C# binding to the cross platform Gtk+ API. Applications look foreign on OSX.LGPL v2Actively developed, cross platform. Bundled with Mono.
Windows.FormsyesyesyesCross platform implementation of Microsoft's Windows.Forms. Applications look foreign on OSX.MIT X11The Windows.Forms API was frozen in time by Microsoft. Bundled with Mono.
MonObjcnonoyesBinding to the native Cocoa APIs, but requires manual use of Objective-C selectors to work with, relatively thin wrapper around the underlying APIs.LGPL v3Actively developed. Separate download.
CocoaSharpnonoyesBinding to the native Cocoa APIs, but requires manual use of Objective-C selectors to work with, relatively thin wrapper around the underlying APIs.MIT X11No longer developed, no longer maintained, deprecated. Bundled with Mono.

转载于:https://www.cnblogs.com/Googler/p/3285167.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值