Gcc error in compiling c program

gcc: error: missing filename after ‘-o’
gcc: fatal error: no input files

This is the error that occurs when i compile a c program.
please do help.

Did you save the file?

Do you use ST’s built-in build system or a custom one?

If it’s a custom one, what’s that?