【已解决】cygwin下crosstool去build出错:Performing some trivial sanity checks,Your file system in xxx is *not* case-sensitive!

【问题】

折腾:

【记录】在Cygwin下编译gcc-3.4.5-glibc-2.3.6的arm-xscale-linux-gnu交叉编译器

期间,在cygwin下执行

ct-ng build

结果出错:

CLi@PC-CLI-1 ~/develop/crosstool-ng/crosstool-ng-1.9.3_build
$ ct-ng build
[INFO ]  Performing some trivial sanity checks
[ERROR]  Your file system in ‘/home/CLi/develop/crosstool-ng/crosstool-ng-1.9.3_build/targets’ is *not* case-sensitive!
[00:01] / /opt/crosstool-ng/bin/ct-ng:143: recipe for target `build’ failed
make: *** [build] Error 1

【解决过程】

1.参考:

Cygwin下用crosstool-ng 编译交叉工具链的常见错误及解决办法

去设置注册表:

默认HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive为1:

kernel obcaseinsensitive 1

改为0:

change to 0 for obcaseinsensitive

即:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive=0

 

【总结】

由于默认windows系统是通过obcaseinsensitive控制系统是不区分大小写,所以cygwin也不区分大小写

把obcaseinsensitive改为0,就都区分大小写了。



发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量