在 Cygwin 下使用 crosstool-ng 构建编译器时出现大小写敏感错误

在 Cygwin 下使用 crosstool-ng 构建编译器时出现大小写敏感错误

当我尝试在 Cygwin 下(在 Windows 7 中运行)使用 crosstool-ng 构建 gcc 交叉编译器时,出现以下消息:

$ /opt/ng-crosstool/bin/ct-ng build
[INFO ]  Performing some trivial sanity checks
[ERROR]  Your file system in '/devdir/.build' is *not* case-sensitive!
[00:02] / make: *** [build] Error 1

我尝试在 \etc\fstab 中添加(按照建议这里):

C:/forbuild /forbuild ext3 binary,posix=1

但它没有帮助但是,当我运行 mount 命令时我得到以下结果:

C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/forbuild on /forbuild type ntfs (binary)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)

有什么问题?如何在 Cygwin 中使用 crosstool-ng?

相关内容