Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. using sdktool to create toolchains
Forum Updated to NodeBB v4.3 + New Features

using sdktool to create toolchains

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 368 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.
  • M Offline
    M Offline
    mzimmers
    wrote on 4 Sept 2024, 23:35 last edited by
    #1

    Hi all -

    I'm trying to complete the setup of a cross-development system, from a Ubunto host to a Yocto target running on an NXP MXM8P.

    I use the sdktool to add the toolchains, but they come up with unknown ABIs. The ABI I use in the command is aarch64-fslc-linux. The complete command looks something like this (adapted from the configure-creator.sh script):

    ${SDKTOOL} addTC \
        --id "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \
        --name "G++ (${NAME})" \
        --path "$(type -p ${CXX})" \
        --abi "${ABI}" \
        --language Cxx
    

    Any idea what I'm doing wrong here? The added toolchains are in fact good (I've used them to build a program that runs on the target), so this is just kind of cleanup work, but I'd like to get this fixed.

    Thanks for any suggestions...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mzimmers
      wrote on 10 Sept 2024, 01:48 last edited by
      #4

      It turned out that my string for the ABI was incorrect. The correct string for this toolchain is:

      arm-linux-poky-elf-64bit
      

      Though "generic" will work for "poky."

      Thanks to all who looked.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SebastianM
        wrote on 5 Sept 2024, 07:42 last edited by
        #2

        Mine command for option language uses value 1/2 (respectively for C and C++).

        M 1 Reply Last reply 5 Sept 2024, 14:51
        0
        • S SebastianM
          5 Sept 2024, 07:42

          Mine command for option language uses value 1/2 (respectively for C and C++).

          M Offline
          M Offline
          mzimmers
          wrote on 5 Sept 2024, 14:51 last edited by mzimmers 9 May 2024, 14:55
          #3

          @SebastianM I tried that, and it didn't seem to change anything. I'm wondering whether I need to do something with the abi flavor.

          I tried adding this line to my command:

          ${SDKTOOL} addTC \
              --id "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \
              --name "GCC (${NAME})" \
              --path "$(type -p ${CC})" \
              --abi "${ABI}" \
              --language C
              --supportedAbis aarch64-fslc-linux
          

          But that didn't help.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mzimmers
            wrote on 10 Sept 2024, 01:48 last edited by
            #4

            It turned out that my string for the ABI was incorrect. The correct string for this toolchain is:

            arm-linux-poky-elf-64bit
            

            Though "generic" will work for "poky."

            Thanks to all who looked.

            1 Reply Last reply
            0
            • M mzimmers has marked this topic as solved on 10 Sept 2024, 01:49

            1/4

            4 Sept 2024, 23:35

            • Login

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