Windows 7 64 位上的 MinGW [英] MinGW on Windows 7 64 bit

查看:38
本文介绍了Windows 7 64 位上的 MinGW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 64 位系统上的 Windows 7 上安装 MinGW,但是安装完成后,缺少一些基本文件,例如 stdio.h.

I am trying to install MinGW on Windows 7 on a 64 bit system, but after the installation is complete, some basic files like stdio.h are missing.

我在 Windows XP 32 位上安装了相同的 MinGW 包并且没有问题(我有 stdio.h...)

I install the same MinGW package on Windows XP 32bit and there is no problem (I have stdio.h...)

我使用位于 MinGW 的 mingw-get-inst-20111118.exe下载

I use mingw-get-inst-20111118.exe found at MinGW download

我应该在 64 位系统(或 Windows 7)上做一些不同的事情吗?我应该尝试 MinGW 64 吗?

Should I do something differently on a 64 bit system (or Windows 7)? Should I try MinGW 64?

推荐答案

执行以下步骤:

  • 所有程序的开始菜单快捷方式打开一个MinGW ShellMinGW > MinGW Shell:

  • Open a MinGW Shell from the start menu shortcut at All Programs > MinGW > MinGW Shell:

运行以下命令:

mingw-get install mingwrt

通过检查 stdio.h 来验证安装是否成功在:

Verify that the installation was successful by checking for stdio.h at:

C:MinGWincludestdio.h

这篇关于Windows 7 64 位上的 MinGW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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