Introduction to ICU
The International Components for Unicode (ICU) package is a mature, widely used set of C/C++ libraries providing Unicode and Globalization support for software applications.
ICU is widely portable and gives applications the same results on all platforms.
This package is known to build and work properly using an LFS-9.1 platform.
Download Link
http://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-src.tgz
tar -zxvf icu4c-57_1-src.tgz
#在源码同级目录建立
mkdir icupc
cd ./icupc
../icu/source/runConfigureICU Linux/gcc
make
cd ../icu/source
./configure --disable-samples --disable-tests \
--with-cross-build=/temp/icupc \
--prefix=/opt/hisi-linux/x86-arm/lib/icu \
--host=arm-himix200-linux \
CC=/opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-gcc \
CPP=/opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-g++
make
make install