简体   繁体   English

从Linux编译Windows的GTK +应用程序

[英]Compiling a GTK+ application for windows from linux

I'm new to linux and have been learning gtk+ the past couple of days, and was wondering how you would go about compiling an application to run on windows instead of linux (ubuntu). 我是Linux的新手,过去几天一直在学习gtk +,并且想知道如何编译要在Windows而不是Linux(ubuntu)上运行的应用程序。 I found this while doing a quick search but my knowledge of linux is non-existent at the moment so not sure how to proceed with the tutorial. 我在进行快速搜索时发现了这一点 ,但是目前我对Linux的了解还不存在,因此不确定如何进行本教程。 Are there any alternative methods to do this?. 是否有其他方法可以做到这一点?

Compiling in other OS does not make sense while you can't disribute your binary without testing it on the target platform. 当您无法在目标平台上测试二进制文件而无法分发二进制文件时,则无法在其他操作系统中进行编译。 Then why not to compile on the same platform? 那为什么不在同一平台上编译呢?

我只编写在Windows和使用Cygwin来测试“(类Unix操作系统和编译之前要顺利进入)尼克斯的版本”,但看起来可能让你开始。

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

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