【发布时间】:2011-09-17 22:35:46
【问题描述】:
我正在尝试将MinTTY 与MSYS(从here 下载)一起使用,我注意到它似乎不支持Unicode。
即:
我无法将 Unicode 文本粘贴到其中(结果是垃圾)。
如果我将 Unicode 文件
cat发送到终端(无论是 UTF-8 还是 UTF-16),我会返回垃圾。如果我使用
ls并且文件 name 是 Unicode,它会打印出垃圾。将结果传送到文件没有有帮助 - 即使在支持 Unicode 的文本编辑器中查看时,它仍然是垃圾。我无法弄清楚设置中的
UTF-8设置是如何工作的。它似乎没有改变任何东西。-
当我尝试下载源代码并构建它时,我遇到了无法解决的构建错误:
Makefile:117: charset.d: No such file or directory Makefile:117: child.d: No such file or directory Makefile:117: config.d: No such file or directory Makefile:117: ctrls.d: No such file or directory Makefile:117: minibidi.d: No such file or directory Makefile:117: std.d: No such file or directory Makefile:117: term.d: No such file or directory Makefile:117: termclip.d: No such file or directory Makefile:117: termline.d: No such file or directory Makefile:117: termmouse.d: No such file or directory Makefile:117: termout.d: No such file or directory Makefile:117: winclip.d: No such file or directory Makefile:117: winctrls.d: No such file or directory Makefile:117: windialog.d: No such file or directory Makefile:117: wininput.d: No such file or directory Makefile:117: winmain.d: No such file or directory Makefile:117: winprint.d: No such file or directory Makefile:117: wintext.d: No such file or directory Makefile:117: wintip.d: No such file or directory Makefile:117: xcwidth.d: No such file or directory Makefile:117: res.d: No such file or directory windres --preprocessor 'gcc -E -xc-header -DRC_INVOKED -MMD -MP 'res.rc res.o gcc xcwidth.c -c -MMD -MP -include std.h -std=gnu99 -Wall -Wextra -Werror -Wundef -march=i586 -mtune=pentium-m -DNDEBUG -fomit-frame-pointer -Os In file included from <command-line>:0:0: ./std.h:4:28: fatal error: cygwin/version.h: No such file or directory compilation terminated. make: *** [xcwidth.d] Error 1
问题:
是否有可能以某种方式在 MSYS/MinTTY 中获得 Unicode 支持(这似乎是 both 的问题)?
如果不是,那么我从哪里获得所有这些文件,例如
charset.d,以及如何为 MSYS 构建 MinTTY?
【问题讨论】:
标签: unicode msys build-error mintty