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. ARM toolchain giving error on option '-rdynamic'
QtWS25 Last Chance

ARM toolchain giving error on option '-rdynamic'

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 2.1k Views
  • 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 31 Aug 2021, 20:25 last edited by
    #1

    Hi all -

    I'm trying to use CMake for a small ARM project. When it tries to build a test program, it fails, because of this:

    arm-none-eabi-gcc: error: unrecognized command-line option '-rdynamic'
    

    From my reading, it appears that the dynamic option is quite old, and wasn't to be used in Linux anyway, but my question is, where is this option being specified?

    CMakeLists.txt:

    add_executable(fw_iQPump_dev-MPI_6_1_109 ${SOURCES} )
    
    include_directory(.)
    include_directory(/home/mzimmers/wiced/sdk/WICED-Studio-6.6/43xxx_Wi-Fi/include)
    include_directory(/home/mzimmers/wiced/sdk/WICED-Studio-6.6/43xxx_Wi-Fi/libraries/daemons/HTTP_server)
    include_directory(/home/mzimmers/wiced/sdk/WICED-Studio-6.6/43xxx_Wi-Fi/libraries/protocols/HTTP_client)
    include_directory(/home/mzimmers/wiced/sdk/WICED-Studio-6.6/43xxx_Wi-Fi/libraries/daemons/DNS_redirect)
    
    set(SOURCES config_mode_dct.c 
               digitaloutput.c 
               i2d_app.c 
               iob.c 
               ioexpander.c 
               iwdg.c 
               MCP7940.c 
               random.c 
               RC4enc.c 
               schedule.c 
               SI2C.c 
               zuart.c
               )
    

    Thanks for any suggestions...

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 31 Aug 2021, 20:28 last edited by
      #2

      @mzimmers said in ARM toolchain giving error on option '-rdynamic':

      error: unrecognized command-line option '-rdynamic'

      https://stackoverflow.com/questions/26884574/questions-about-gcc-unrecognized-option-rdynamic

      M 1 Reply Last reply 31 Aug 2021, 20:40
      0
      • J JoeCFD
        31 Aug 2021, 20:28

        @mzimmers said in ARM toolchain giving error on option '-rdynamic':

        error: unrecognized command-line option '-rdynamic'

        https://stackoverflow.com/questions/26884574/questions-about-gcc-unrecognized-option-rdynamic

        M Offline
        M Offline
        mzimmers
        wrote on 31 Aug 2021, 20:40 last edited by
        #3

        @JoeCFD I saw that page. My toolchain is not old; I just downloaded it a couple weeks ago.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mzimmers
          wrote on 31 Aug 2021, 22:05 last edited by
          #4

          I tried creating a new project from scratch; same error. I do have this warning visible:
          qt.PNG
          I'm not sure what this really means, though.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mzimmers
            wrote on 31 Aug 2021, 22:39 last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            4/5

            31 Aug 2021, 22:05

            • Login

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