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

using sdktool to create toolchains

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 659 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on 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
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on 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
      • SebastianMS Offline
        SebastianMS Offline
        SebastianM
        wrote on last edited by
        #2

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

        mzimmersM 1 Reply Last reply
        0
        • SebastianMS SebastianM

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

          mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by mzimmers
          #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
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on 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
            • mzimmersM mzimmers has marked this topic as solved on

            • Login

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