Boost logo

Boost Users :

Subject: [Boost-users] Some questions about cross-compiling boost
From: ÀÚ ÖÜ (zl198547_at_[hidden])
Date: 2009-02-26 09:48:33


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 ___________________________________________________________ ºÃÍæºØ¿¨µÈÄã·¢£¬ÓÊÏäºØ¿¨È«ÐÂÉÏÏߣ¡ http://card.mail.cn.yahoo.com/



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net