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. Generating assembler files from Creator (SOLVED)
Forum Updated to NodeBB v4.3 + New Features

Generating assembler files from Creator (SOLVED)

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 2.4k 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.
  • G Offline
    G Offline
    gyll
    wrote on 1 Aug 2013, 17:04 last edited by
    #1

    I am interested in generating assembler files for each object file in the project, and i read somewhere that passing -S -save-temps would do the trick; however, if i add these options at the beginning of the .pro file no assembler files are generated (i still only get the .o files in the build directory) and the linker fails with the error
    *** [...]\main.o:-1: error: file format not recognized; treating as linker script

    I added to .pro file the line: QMAKE_CXXFLAGS += -S -save-temps

    Can anybody help?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gyll
      wrote on 2 Aug 2013, 07:58 last edited by
      #2

      Okay, i guess -S can't go together with -save-temps or something, but if i only use -save-temps then .s files are there alright

      So like this it works: QMAKE_CXXFLAGS += -save-temps

      1 Reply Last reply
      0

      1/2

      1 Aug 2013, 17:04

      • Login

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