cc1 compile error

Hello,
I am getting the following error when trying to compile anything:

cc1: error: unrecognized command line option "-mmcu=atmega328p"

I'm on Windows 7, I have tried it on version 18 and now 21. Anyone know whats going on?