如何建立MinGW的W64 [英] How to build MinGW W64

查看:237
本文介绍了如何建立MinGW的W64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我新的堆栈溢出,C ++和MinGW的W64。我的问题是,是,我不知道如何建立MinGW的W64,所有我知道该怎么做是双击exe文件和文件安装到我的电脑本身。

I'm new to Stack Overflow, C++ and to MinGW W64. My problem is, is that I don't know how to build MinGW W64, all I know how to do is double click an exe and install the files onto my computer itself.

那么,我要问的是,你如何建立MinGW的W64? ( http://mingw-w64.sourceforge.net/

So what I am asking is that, how do you build MinGW W64? ( http://mingw-w64.sourceforge.net/ )

如果我学习如何建立MinGW的W64,我想我将能够建立其他的事情没有任何帮助。我不知道是什么文件去安装MinGW的W64。我所知道的是,我需要的gcc(适用于C)和g ++(对于C ++)从(http://gcc.gnu.org/)。

If I learn how to build MinGW W64, I think I will be able to build other things without any help. I don't know what files to get to install MinGW W64. All I know is that I need gcc (for C) and g++ (for C++) from (http://gcc.gnu.org/) .

是的,我知道,我可以只从安装MinGW的 http://www.mingw.org/ 但是他们的gcc版本过时,这将是一个不错的技能学习,如果我学会了如何建立这几样东西。 (将来甚至可能帮助)

Yes, I know, I could just install MinGW from http://www.mingw.org/ but their gcc versions are out of date and it would be a nice skill to learn if I learnt how to build these kind of things. (Might even help in the future)

如果有帮助,我的操作系统是Windows 7。

If it helps, my operating system is Windows 7.

谢谢你们。 (如果可能的话,你能就如何构建它,并告诉我哪些文件得到一步一步的指导。如果你觉得你想帮助一个noob出像我来说,这会是不错的给的链接,这些文件。)

Thanks guys. (If possible, can you make a step by step guide on how to build it and tell me what files to get. And if you feel like you want to help a noob out like me, it'd be nice to give the links to the files.)

推荐答案

TDM-GCC 4.6.1 (GCC / MinGW的/ MinGW的-W64编译器套件的32位和64位Windows)是在Windows 7内置使用的MinGW和放大器64位; MSYS。该源分布提供GCC,所有的支持库和.SH脚本文件调用生成文件与适当的参数

TDM-GCC 4.6.1 (GCC / MinGW / MinGW-w64 compiler suite for 32- and 64-bit Windows) was built on Windows 7 64-bit using MinGW & MSYS. The source distribution provide GCC, all support libraries and .sh script files that invoke the Makefile with appropriate arguments.

构建说明 TDM来源/ README-GCC-TDM -src.txt ):

Building the TDM edition typically looks like this: 
  * [Extract all sources to /crossdev/src] 
  * [Copy or build a previous MinGW installation to a "build root"] 
  * [Ensure the prefix ("/mingw") is empty] 
  * [Ensure the buildroot's "bin" directory is in PATH] 
  * ./build-tdm-[dw2/sjlj].sh support-libs prefix 
  * [Copy everything from the prefix to the "build root"] 
  * [Extract the binutils, mingwrt, and w32api bin/dev packages to the prefix] 
  * ./build-tdm-[dw2/sjlj].sh gcc

这篇关于如何建立MinGW的W64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆