|
From: Steven R. L. <sr...@ic...> - 2012-10-31 17:04:13
|
The cross build argument is the build directory you built the first icu in (the first configure directory) it's not the install dir. I just built icu for raspberry pi last week with similar args. S On Monday, October 29, 2012, yuqing cai wrote: > hi, all. > I am trying to cross compile the icu to my arm target, now have some > problem. > first, I build the icu for my host PC, the building command is: > > # ./configure --prefix=/home/qing --enable-static > # make > # make install > > every thing goes fine, the libs and bin files are installed in directory > "/home/qing/lib", "/home/qing/bin" ,"/home/qing/sbin", then I try to cross > icu for my arm target, and the command is: > > # export CXX=arm-none-linux-gnueabi-g++ > # export CC=arm-none-linux-gnueabi-gcc > # ./configure --prefix=/target --enable-static > --host=arm-none-linux-gnueabi --with-cross-build=/home/qing/ > > when configuring, error occur, the error message is: > # configure: error: /home/qing/bin/config/icucross.mk not found. Please > build ICU in /home/qing/bin first. > > why this happened? how to generate the file "icucross.mk"? > > qing > 2012-10-29 > -- Sent from Gmail Mobile |