We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The --dwarf2 option is for RVCT. You are not using RVCT - you will need to find the equivalent command-line option for your toolchain. I think WinARM is GCC-based. Looking around, the option you want might be "-gdwarf-2", but I'd advise you to look in the documentation and check. Hope this helps.