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'
Forum Updated to NodeBB v4.3 + New Features

ARM toolchain giving error on option '-rdynamic'

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 2.2k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on 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
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on 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

      mzimmersM 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @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

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on 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
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on 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
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #5
            This post is deleted!
            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