Re: Cross compile error for arm
"inoue masatoshi" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.konq-e |
|---|---|
| Message-ID | <005d01c71e7a$47f9dff0$6c64a8c0@qss4e4def575e2> |
Hello all and especially to Olof and Yan Thank you for your great help! I complete the cross compile and konqueror/embedded works on my target board. here I show what I did. 1:recompile Qt/e without fno-rtti option. ->modify line 26 of qmake.conf in directory "$QTDIR/mkspecs/qws/linux-arm-g++" to remove "-fno-rtti" from CXXFLAGS 2:modify the configure script of konqueror/embedded ->remove the "-fnp-rtti" from CXXFLAGS and QTE_NORTTI in line around 28075. 3:configure with option: ./configure --enable-qt-embedded --enable-embedded --host=i686-pc-linux-gnu --target=arm-linux --disable-mt --disable-pcre --disable-threading --without-ssl --includedir=/usr/include/kde --prefix=/home/inoue/konqe3 and this time, the env. variables are: CC=arm-linux-gcc CXX=arm-linux-g++ QTDIR=/usr/local/qt-embedded-3.3.4 PATH=$PATH:$QTDIR/bin LD_LUBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH 4:make 5 make install Regards inoue masatoshi