Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross Compilation for mipsel (ingenic jz4760).

Cross Compilation for mipsel (ingenic jz4760).

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Beginner
    wrote on last edited by
    #1

    Hello!
    I use the host system OpenSuSE 12.3 64 bits.
    I want to make Qt for the device on mipsel.
    I downloaded and installed toolchain for mipsel. This works.
    I downloaded qt-everywhere-opensource-src-4.8.4.
    Unpacked. Created qmake.conf :
    @#

    qmake configuration for building with mipsel-linux-g++

    include(../../common/linux.conf)
    include(../../common/gcc-base-unix.conf)
    include(../../common/g++-unix.conf)
    include(../../common/qws.conf)

    modifications to g++.conf

    QMAKE_CC = mipsel-linux-gcc
    QMAKE_CXX = mipsel-linux-g++
    QMAKE_CFLAGS += -mips32
    QMAKE_CXXFLAGS += -mips32
    QMAKE_LINK = mipsel-linux-g++
    QMAKE_LINK_SHLIB = mipsel-linux-g++
    QMAKE_INCDIR = /opt/mipseltools-gcc412-glibc261/include
    QMAKE_LIDDIR = /opt/mipseltools-gcc412-glibc261/lib

    modifications to linux.conf

    QMAKE_AR = mipsel-linux-ar cqs
    QMAKE_OBJCOPY = mipsel-linux-objcopy
    QMAKE_STRIP = mipsel-linux-strip

    load(qt_config)
    @

    Has configured:
    @./configure -opensource -no-multimedia -no-openssl -no-webkit -no-qt3support -no-phonon -no-phonon-backend -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -silent -xplatform qws/linux-mipsel-g++ -embedded mips -little-endian -qt-freetype -depths 4 -qvfb -qt-gfx-linuxfb -nomake example -nomake demos
    @

    After gmake:
    @/opt/mipseltools-gcc412-glibc261/lib/gcc/mipsel-linux/4.1.2/../../../../mipsel-linux/bin/ld: skipping incompatible /home/vladimir/Develop/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap/libbootstrap.a when searching for -lbootstrap
    /opt/mipseltools-gcc412-glibc261/lib/gcc/mipsel-linux/4.1.2/../../../../mipsel-linux/bin/ld: cannot find -lbootstrap
    collect2: ld returned 1 exit status
    gmake[1]: *** [../../../bin/lrelease] Ошибка 1
    gmake[1]: Выход из каталога `/home/vladimir/Develop/qt-everywhere-opensource-src-4.8.4/tools/linguist/lrelease'
    gmake: *** [sub-tools-linguist-lrelease-make_default-ordered] Ошибка 2
    @
    How to solve the problem?
    Thank you.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Beginner
      wrote on last edited by
      #2

      Turned out to compile such a configuration:
      @./configure -opensource -no-multimedia -no-openssl -no-webkit -no-qt3support -no-phonon -no-phonon-backend -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -embedded generic -xplatform qws/linux-mipsel-g++ -little-endian -qt-freetype -depths 4 -qvfb -qt-gfx-qvfb -nomake examples -nomake demos
      @
      Added: -embedded generic

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved