How to build the qt5.2 for s3c2440(ARM9)
-
It was confused me that I built the qt-everywhere-opensource-src-5.2.0 for s3c2440.
The cofigure is
" -prefix /opt/QT/qt5.2-arm/ -release -opensource -confirm-license -no-largefile -qt-sql-sqlite -no-javascript-jit -no-qml-debug -qt-zlib -qt-libpng -qt-libjpeg -no-harfbuzz -no-openssl -no-glib -make libs -nomake tools -v -optimized-qmake -no-nis -no-cups -no-iconv -no-icu -fontconfig -no-pch -no-xcb -no-eglfs -no-directfb -linuxfb -no-kms -xplatform linux-arm-gnueabi-g++ -no-opengl "The qmake.conf is:
qmake.conf是qmake configuration for building with arm-linux-gnueabi-g++
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublibQT_QPA_DEFAULT_PLATFORM = linuxfb
QMAKE_CFLAGS_RELEASE += -O2 -march=armv4t
QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv4tinclude(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
modifications to g++.conf
QMAKE_CC = arm-linux-gcc
QMAKE_CXX = arm-linux-g++
QMAKE_LINK = arm-linux-g++
QMAKE_LINK_SHLIB = arm-linux-g++
modifications to linux.conf
QMAKE_AR = arm-linux-ar cqs
QMAKE_OBJCOPY = arm-linux-objcopy
QMAKE_NM = arm-linux-nm -P
QMAKE_STRIP = arm-linux-strip
load(qt_config)Everything went fine when I configure and make it. Unluckly , It told me "Illegal instruction" until I run any QT application on it. Is there anybody meet this problem and tell me why ? Thanks a lot!