Generating assembler files from Creator (SOLVED)
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?
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