最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

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

CrossCompiler crifan 4219浏览 0评论

【问题】

折腾:

【记录】在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,就都区分大小写了。

转载请注明:在路上 » 【已解决】cygwin下crosstool去build出错:Performing some trivial sanity checks,Your file system in xxx is *not* case-sensitive!

与本文相关的文章

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.201 seconds, using 22.29MB memory