-o changes the output filename (I found that using --help)
But I can\'t find out what -Wall does?
-Wall
It shows all warnings. I'd recommend also use -pedantic to warn about some non-conformant parts of code.
-pedantic