I'm trying to flash a firmware on to a stm32f3discovery board. https://github.com/yetifrisstlama/Foculus_Rift_Tracker_STM32F3DISCOVERY These are the instructions I am trying to follow but they are for ubuntu and I am using windows 8.1. If anyone knows how to flash using a different method or how to just tweak this to work on windows all help is appreciated.
One of the best ways to solve "this isn't meant for Windows"-issues is to look for a solution that's actually built for Windows, or to install a Linux partition so you can follow things faithfully.
Anyways, to answer your question specifically, especially if you attempt this kind of thing often, I'd recommend right now that you consider getting Cygwin for your system to minimize the differences between the steps you're actually performing and the steps in whatever tutorial you're following. That should increase the likelihood of success, at least assuming you're not looking to build something that runs with a GUI.
If you're lucky, you'll find all of the packages you need to use to follow the steps in Cygwin's package-manager, and will not have to build required packages (or their dependancies) from source for them to work.
There are no solid guarantees even when installing things on Linux according to prescribed directions that all will go smoothely, so keep in mind that the more complicated a task you're trying to complete in a different environment, the more things that can go wrong.