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 compile of qt 4.8.5 for friendlyarm tiny 6410
Qt 6.11 is out! See what's new in the release blog

cross compile of qt 4.8.5 for friendlyarm tiny 6410

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
30 Posts 4 Posters 19.6k Views 2 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.
  • jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #20

    Take a look at the beginning of the output:
    "configure: WARNING: if you wanted to set the --build type, don't use --host."
    I'm not an expert in cross compilation, but it looks like you should use --build and not --host

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sachin786
      wrote on last edited by
      #21

      @SGaist
      arm-fsl-linux-gnueabi-gcc -v if i execute this command i got followinf output=>

      bash: /home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc: Permission denied

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sachin786
        wrote on last edited by
        #22

        @SGaist
        Yes i have working for cross compilation as a normal user only.....but is i got some error like permission denied then i used sudo infront of that command only.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #23

          Permission denied ? What are the permissions on that file ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sachin786
            wrote on last edited by
            #24

            @SGaist
            sachin@Atishay:~/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin$
            ** ls -l arm-fsl-linux-gnueabi-gcc -v**
            -rw------- 1 sachin sachin 307144 Sep 3 13:29 arm-fsl-linux-gnueabi-gcc
            i have change the permission now chmod 777 arm-fsl-linux-gnueabi-gcc then got this output=>
            -rwxrwxrwx 1 sachin sachin 307144 Sep 3 13:29 arm-fsl-linux-gnueabi-gcc
            and now if i am executing this command=>
            arm-fsl-linux-gnueabi-gcc -v
            got following output==>
            sachin@Atishay:~$ arm-fsl-linux-gnueabi-gcc -v
            Using built-in specs.
            COLLECT_GCC=arm-fsl-linux-gnueabi-gcc
            Target: arm-fsl-linux-gnueabi
            Configured with: /work/build/.build/src/gcc-linaro-4.6-2011.06-0/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-fsl-linux-gnueabi --prefix=/work/fsl-linaro-toolchain-2.13 --with-sysroot=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --enable-languages=c,c++ --with-pkgversion='Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --with-gmp=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpfr=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-mpc=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-ppl=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-cloog=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-libelf=/work/build/.build/arm-fsl-linux-gnueabi/build/static --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/work/build/.build/arm-fsl-linux-gnueabi/build/static/lib -lpwl' --enable-threads=posix --enable-target-optspace --enable-plugin --enable-multilib --with-local-prefix=/work/fsl-linaro-toolchain-2.13/arm-fsl-linux-gnueabi/multi-libs --disable-nls --enable-c99 --enable-long-long --with-system-zlib
            Thread model: posix
            gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #25

              Since the permission are now fixed, start the build again

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sachin786
                wrote on last edited by
                #26

                same issue again it shows ** intel 80386** not build

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sachin786
                  wrote on last edited by
                  #27

                  @SGaist

                  can i send u complete procedure for tslib compilation how i am trying to doing?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sachin786
                    wrote on last edited by
                    #28

                    compiler path is ok,toolchain is ok cant get how it can be fixed

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #29

                      What I did:

                      1. clone tslib repository
                      2. call autogen.sh
                      3. ./configure --host=arm-linux-gnueabihf
                      4. make -j9

                      That's all.

                      Why arm-linux-gnueabihf ? That's the tool chain I used to build Qt for the Raspberry Pi

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        sachin786
                        wrote on last edited by
                        #30

                        @SGaist ok thanks i will try..

                        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