Hi,everyone.
The version of boost I used is 1.38. I have tried to cross-compile the boost library for a platform with ARM and Linux, but I failed. What I did is listed following:
 
#cd mypath/boost_1_38_0/tools/jam/src
#./build/build.sh
 
By doing these, I got a executable file named bjam in the folder "bin.linuxx86". I copied the bjam to the directory "mypath/boost_1_38_0/", then :
 
#cd mypath/boost_1_38_0
#./bjam "-sGCC_ROOT_DIRECTORY=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le" "-sGCC=arm_v5t_le-gcc" "-sGXX=arm_v5t_le-g++" "-sGCC_BIN_DIRECTORY=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin"
 
finally, there were some libraries gengerated in "usr/local/lib". Unfortunately, these libraries just can be used in the X86 platform but not ARM platform. Maybe my method was incorrect. Could anyone give me some advices to deal with my problem? Thanks!
Best wishes
Zou


好玩贺卡等你发,邮箱贺卡全新上线!