Generating assembler files from Creator (SOLVED)
Qt Creator and other tools
2
Posts
1
Posters
2.4k
Views
1
Watching
-
wrote on 1 Aug 2013, 17:04 last edited by
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 scriptI added to .pro file the line: QMAKE_CXXFLAGS += -S -save-temps
Can anybody help?
-
wrote on 2 Aug 2013, 07:58 last edited by
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/2