1. download source code.
2.run msys2 bash
3. edit M:\work\code\qt\icu4c-68_2\icu4c\source\runConfigureICU
find Cygwin/MSVC
replace -MD -MDt to -MT -MTd
4.M:\icu4c-68_2\icu4c\source>bash runConfigureICU Cygwin/MSVC --disable-debug --enable-release --prefix=/c/icu/dist --enable-static --disable-shared
5.
del M:\work\code\qt\icu4c-68_2\icu4c\source\config\mh-unknow
copy M:\work\code\qt\icu4c-68_2\icu4c\source\config\mh-msys-msvc M:\work\code\qt\icu4c-68_2\icu4c\source\config\mh-unknow
6.make
博客介绍了ICU静态库的构建过程,包括下载源代码,运行msys2 bash,编辑相关配置文件,将编译选项 -MD -MDt 替换为 -MT -MTd,执行配置命令并禁用调试、启用发布、指定安装路径、启用静态库并禁用共享库,最后进行编译。

2750

被折叠的 条评论
为什么被折叠?



