简体   繁体   English

用Delphi 7编译的exe文件可以在OSX上使用吗?

[英]Can an exe file compiled with Delphi 7 work on OSX?

I have an exe file compiled with Delphi 7. I want it to work on OSX (in this case, Mac OS Sierra). 我有一个用Delphi 7编译的exe文件。我希望它能在OSX(在这种情况下为Mac OS Sierra)上运行。 Is there any way to compile the exe file as an OSX package and install/run it on OSX? 有什么方法可以将exe文件编译为OSX软件包并在OSX上安装/运行它?

Delphi 7 can produce only Windows executables. Delphi 7只能生成Windows可执行文件。 Your only possibility to run the executable on OSX is to run it under the WINE emulator. 在OSX上运行可执行文件的唯一可能性是在WINE模拟器下运行它。 Whether or not it will run correctly under WINE depends on what the program actually does. 它是否可以在WINE下正确运行取决于程序实际执行的操作。 You will just have to try it and see what happens. 您只需要尝试一下,看看会发生什么。

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

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