Important: Please read the Qt Code of Conduct -

Can't build Qt 4.8.5 for DM365 (ARM 9)

  • I'm trying to build Qt 4.8.5 using this qmake.conf:

    qmake configuration for building with arm-none-linux-gnueabi-g++


    modifications to g++.conf

    QMAKE_CFLAGS_RELEASE = -03 -march=armv5te
    QMAKE_CXXFLAGS_RELEASE = -03 -march=armv5te
    QMAKE_CC = arm-none-linux-gnueabi-gcc
    QMAKE_CXX = arm-none-linux-gnueabi-g++
    QMAKE_LINK = arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++

    modifications to linux.conf

    QMAKE_AR = arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy
    QMAKE_STRIP = arm-none-linux-gnueabi-strip


    And here are my configure script arguments:
    @./configure -v -embedded arm
    -prefix /opt/qt-4.8.5
    -platform /qws/linux-x86_64-g++
    -xplatform /qws/linux-dm365-g++
    -depths 16,24,32
    -no-mmx -no-3dnow -no-sse -no-sse2
    -no-cups -no-largefile -no-accessibility
    -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc
    -nomake demos
    -nomake examples
    -little-endian -host-little-endian
    -nomake docs
    -opensource -confirm-license
    -nomake tools@

    When i try to execute configure script, I get errors like this:
    @/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)
    project.o: error adding symbols: File in wrong format
    collect2: error: ld returned 1 exit status

Log in to reply