The following QTOPIA2 compilation process is based on RedHat9, the CPU type is MOTO IMX21;
1): Unzip MOTO to provide Toolchain to / usr / local / in (there are two files involved: usr-local-arm-gcc.tar.gz and usr-local-arm-kernel-headers.tar.gz )
#CP usr-local-arm-gcc.tar.gz / usr / local
#cp usr-local-arm-kernel-headers.tar.gz / usr / local
#CD / USR / LOCAL
#tar -xzvf usr-local-arm-gcc.tar.gz
#tar -xzvf usr-local-arm-kernel-header.tar.gz
#CD ARM
#export path = $ PWD / BIN: $ PATH
#export ld_library_path = $ PWD / LIB: $ LD_LIBRARY_PATH
2): Decompression QT-Embedded-2.3.8-Commercial.tar.gz to / hone / qtopia2, this directory can be specified yourself, this is assumed to / home / qtopia2
#CP Qt-Embedded-2.3.8-Commercial.tar.gz / Home / QTOPIA2
#CD / Home / qtopia2
#tar -xzvf qt-Embedded-2.3.8-Commercial.Tar.gz
#CD QT-2.3.8
#export Qtedir = $ PWD
#export qtdir = $ PWD
#export path = $ PWD / BIN: $ PATH
#export ld_library_path = $ PWD / LIB: $ LD_LIBRARY_PATH
3): Unzip QTOPIA-Phone-2.0.0.tar.gz to / home / qtopia2
#CP qtopia-phone-2.0.0.tar.gz / home / qtopia2
#CD / Home / qtopia2
#tar -xzvf qtopia-phone-2.0.0.tar.gz
#CD Qtopia-Phone-2.0.0
#export QPedir = $ PWD
4): Compile QT / E
# cc $ qtedir
#CP $ qpedir / src / qt / qconfig-qpe.h src / Tools
#. / configure -qconfig qpe -qvfb -depths 4, 8, 16, 32 -keypad-mode -system-jpeg -gif -xplatform linux-ARM-G
5): Unzip TMAKE-1.13.Tar.gz to / home / qtopia2
#CP tmake-1.13.tar.gz / home / qtopia2
#CD / Home / qtopia2
#TAR -XZVF TMAKE-1.13.TAR.GZ
#CD TMAKE-1.13
#export tmakedir = $ PWD
#export tmakepath = $ PWD / LIB / QWS / Linux-ARM-G
#export path = $ PWD / BIN: $ PATH
6): Compile QT-X11-2.3.2-Commercial.Tar.gz
#CP QT-X11-2.3.2-Commercial.Tar.gz / Home / qtopia2
#CD / Home / qtopia2
#TAR -XZVF QT-X11-2.3.2-Commercial.Tar.gz
#CD QT-2.3.2
#export qtdir = $ PWD
# export path = $ qtdir / bin: $ PATH # export ld_library_path = $ qtdir / lib: $ ld_library_path
#. / configure -no-opengl -no-xft
# Make Sub-src
#CP $ qtdir / bin / UIC $ qtedir / bin
7): Compile QTOPIA2
# cc $ qpedir
#export qtdir = $ qtedir
#export path = $ PWD / BIN: $ PATH
#. / configure -with-phone -no-qtopiadesktop -Xplatform Linux-ARM-G
#CD include / qtopia
#LN -sustom.h ../../src/libraries/Qtopia/custom-qtopia.h
# c qpedir / src / libraries / qtopia
#CP Custom-Linux-Innovator-g . h Custom-Linux-ARM-G . h
#CP Custom-Linux-Innovator-G . CPP Custom-Linux-ARM-G . CPP
# Cc $ qpedir; make
8): Last installation
#make install
#CP src / Tools / PhOSim / Troll.xml Image / OPT / qtopia / etc
#CP src / Tools / PhOSim / Peers.xml Image / OPT / QTOPIA / ETC
#TAR-CZVF QPE2.TGZ Image
In this step, you can submit a system group related colleagues, put it on the development board!