Hi there!
I have a simple problem. I need to generate assembly code when I compile my source, so I find that I must add -S suffix to the compiler.
I got it (in (right_click_on)Project -> Build options... -> Compiler settings -> Other options), simply writing -S in the Other options panel.
Now, when I rebuild my project, it automatically opens a main.o blank file and gives a syntax error in the Biuld messages panel. But, when I try to open the .o files, the assembly code is there, so it seems to work.
The question is: why Code::Blocks gives back this error and have this strange behavior? And again, there is a way to solve this problem?
Thanks in advance.