Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cross compilation of qt



  • HI everyone,
    I trying to cross compile Qtproject for odroid-x2(linaro linux).
    In my pc(x86) Iam configuring it by using" ./configure -prefix /home/ibx/Downloads/Rajeev/qt-everywhere-opensource-src-4.8.5/mkinstall -prefix-install -platform qws/linux-x86-g++ -embedded arm -little-endian -xplatform qws/linux-armv6-g++ -no-neon -no-pch".
    But while compiling Iam getting so many errors but I stucked "g++ -c -pipe -fno-exceptions -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wno-c++0x-compat -fno-stack-protector -Wno-c++0x-compat -O3 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/home/ibx/Downloads/Rajeev/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I.moc/release-static-emb-arm -o .obj/release-static-emb-arm/MainThreadQt.o wtf/qt/MainThreadQt.cpp
    ../../../../../include/QtCore/../../src/corelib/arch/qatomic_armv5.h: Assembler messages:
    ../../../../../include/QtCore/../../src/corelib/arch/qatomic_armv5.h:131: Error: no such instruction: `swpb %dl,%al,[


Log in to reply