Cross compile error for arm

inoue masatoshi inoue at qubitstar.co.jp
Wed Dec 13 06:48:14 CET 2006


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 




More information about the konq-e mailing list