简体   繁体   English

在Linux主机上交叉编译Windows可执行文件

[英]Cross-compile Windows Executable on Linux host

I've looked all over the internet trying to find out, but I can't find it. 我已经遍及整个互联网,试图找出答案,但找不到。 Can you compile programs for windows on a Linux machine? 您可以在Linux机器上为Windows编译程序吗? Info: 信息:
I am using Gcc in it's newest version(I just updated it) I am trying to compile a program I wrote in C. I am trying to compile for an Intel Core2 Quad Q9550 processor 我正在使用最新版本的Gcc(我刚刚对其进行了更新),我正在尝试编译用C语言编写的程序。我正在尝试针对Intel Core2 Quad Q9550处理器进行编译

Please help if you can. 如果可以的话请帮忙。 I'm not sure if there is a tag you can add to gcc to do it or something, but thank you for any help you can give! 我不确定是否可以将标签添加到gcc来执行此操作或其他操作,但是感谢您的帮助!

EDIT: I'm trying to compile for a 32-bit Windows machine 编辑:我正在尝试为32位Windows机器进行编译

I guess my search didn't go very far...first link in google now. 我想我的搜索范围不广...现在在Google中的第一个链接。 MinGW MinGW的

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

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