这是我为静态链接所做的工作。
$ ./runConfigureICU MinGW --enable-debug --disable-release --prefix=/mingw/dist --enable-static --disable-shared
我认为最终结果还不错。
ICU for C/C++ 52.1 is ready to be built.
=== Important Notes: ===
Data Packaging: static
This means: ICU data will be stored in a static library.
To locate data: ICU will use the linked data library. If linked with the stub library located in stubdata/, the application can use udata_setCommonData() or set a data path to override.
Building ICU: Use a GNU make such as make to build ICU.
checking the version of "make"... 3.81 (we wanted at least 3.80)
ok
If the result of the above commands looks okay to you, go to the directory
source in the ICU distribution to build ICU. Please remember that ICU needs
GNU make to build properly...
bash-3.1$
然后我运行make命令:
$ make && make install
经过一些工作后,它停在了以下位置:
make[0]: Making `all' in `data'
当我使用进程资源管理器检查进程时,它显示没有任何CPU活动,状态为:等待:用户请求。
有人遇到过这种情况吗?欢迎任何帮助。
更新:按建议添加-d选项后的结果。
make[0]: Making `all' in `data'
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-msys
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `../icudefs.mk' (search path) (no ~ expansion)...
Reading makefile `../config/mh-mingw' (search path) (no ~ expansion)...
Reading makefile `../icudefs.local' (search path) (don't care) (no ~ expansion)...
使用:Windows 7 x64,mingw 4.8.1-4。