在Cygwin的软件包列表中没有gcc4 [英] No gcc4 in Cygwin's package list

查看:145
本文介绍了在Cygwin的软件包列表中没有gcc4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不得不在Windows上使用NS-2。因此,我安装了Cygwin并下载了NS-2源并运行 ./ install ,然后它说

  Cygwin检测到
注意:Cygwin安装仍然被认为是EXPERIMENTAL

检查Cygwin版本是> = 1.7.1 ... 1.7.27 )
检查文件系统是作为UNIX文件类型安装的...是
检查默认模式是binmode ... yes
检查合法登录名... ok
检查合法路径名。 .. ok
检查gcc4 ... NO!

Cygwin中有些包似乎与gcc4相关

  cygwin64-gcc 
gcc
mingw-gcc
mingw64 - * - gcc



所有的版本都有> = 4.x



* gcc4 *

解决方案

gcc4- * 包已过时; gcc - * 现在提供了4.x版本的编译器。您需要修补此脚本,以检查 gcc -dumpversion 而不是特定的软件包名称。


I had to use NS-2 on Windows. Thus, I've installed Cygwin and downloaded NS-2 source and run ./install then it says

Cygwin detected
Note: Cygwin install is still considered EXPERIMENTAL

Checking Cygwin version is >= 1.7.1... 1.7.27 (should be ok)
Checking filesystems are mounted as UNIX filetype... yes
Checking default mode is binmode... yes
Checking legitimate login name... ok
Checking legitimate path name... ok
Checking for gcc4... NO!

There are packages in Cygwin that seem to be related to gcc4

cygwin64-gcc
gcc
mingw-gcc
mingw64-*-gcc

And all of them have versions >= 4.x

And there are no packages named *gcc4*

解决方案

The gcc4-* packages are obsolete; gcc-* now provides version 4.x of the compiler. You'll need to patch this script to check e.g. gcc -dumpversion instead of a specific package name.

这篇关于在Cygwin的软件包列表中没有gcc4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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