我知道,如果我想在Linux上编译一个32位的.exe文件,我可以在Linux上安装和使用mingw32软件包(例如apt-get install mingw32)。如果我想编译一个64位的windows.exe,该怎么办?有工具或方法来做到这一点?交叉编译Windows 64位.exe从Linux
9
A
回答
5
它看起来像我的答案是与Mingw-w64项目,该项目可用于主机操作系统的Linux,达尔文&的Windows
+0
我也有很好的体验与Mingw-w64。从Linux中很容易[64位Windows交叉编译](http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux)。 – 2011-06-04 02:33:48
相关问题
- 1. 交叉编译的Windows 64位汇编的64位
- 2. Qt Windows + Linux交叉编译
- 3. 从64位Linux交叉编译特定arm目标的Qt
- 4. 从arch linux交叉编译pdcurses到windows
- 5. 升压 - 交叉编译 - “从Linux”“到Windows”
- 6. qt5.4在Linux上的windows交叉编译
- 7. 在Windows上交叉编译Linux
- 8. 在Windows和Linux上交叉编译
- 9. 为windows和linux编译64位sqlite
- 10. 错误交叉编译VLC的Linux(Ubuntu的12.04)64赢64
- 11. Qt交叉编译
- 12. 在Windows上交叉编译?
- 13. Qt - 交叉编译
- 14. 交叉编译源到Linux
- 15. Linux交叉编译库
- 16. 交叉编译Linux主机
- 17. 从OS X交叉编译到Linux
- 18. 从Fedora 18上的MinGW到Ocaml/TclTk程序的Windows(64位)的交叉编译
- 19. Windows交叉编译Python错误
- 20. Beaglebone交叉编译
- 21. 在OS X 10.8(64位)上交叉编译rsync到10.7(32位)
- 22. MinGW GCC - 单个32位和64位交叉编译器?
- 23. 从Windows到Linux交叉编译dotnet核心应用程序
- 24. 交叉编译wxWidgets的代码从Linux到的Windows
- 25. 从Windows到ARM Linux的交叉编译生锈
- 26. 从Linux为Windows开发交叉编译静态库
- 27. Rustup:从Linux的错误交叉编译到Windows的i686
- 28. 交叉编译C++;从Linux到Windows,它真的有用吗?
- 29. 从Windows building.o开始交叉编译GCC ARM(Linux)Boost.o
- 30. 从Linux到Windows交叉编译C++应用程序的手册?
@Hannes德雅格:你能告诉我如何'后的apt-get安装mingw32'编译序生成exe文件?你也可以请尝试回答我的问题http://stackoverflow.com/questions/2733402/how-to-build-gnu-libiconv-on-for-windows和http://stackoverflow.com/questions/2731211/windows -build-system-how-to-build-a-project-from-its-source-code-which-doesnt和http://stackoverflow.com/questions/2709589/looking-for-information-on-porting-linux -apps-to-windows – claws 2010-04-29 05:47:32
i586-mingw32msvc-cc helloworld.c -o helloworld.exe – 2010-05-04 12:51:55
如果你想在linux下测试它: wine helloworld.exe (假设你已经安装了wine) – 2010-05-04 12:52:43