Fighting Arduino's IDE smartness

Is there a way to see the complete command that is used to invoke the compiler?

Look at the File + Preferences dialog.

And is there an option somewhere to change the compiler switches?

Not using the IDE.