This is a modification of the STM32F0-Discovery gcc template by Mike Szcsyz at https://github.com/szczys/stm32f0-discovery-basic-template. I've removed everything but the bare essentials - that means no ST initialization routines or peripheral libraries. Use this if you're like me and prefer to work with the bare metal when developing your embedded projects.
On Debian Jessie, to get a toolchain, just apt-get install gcc-arm-none-eabi
and away you go.
This won't program your board, initialize your peripherals for you, or do much besides get your code compiled. Those details are up to you, because your application is probably not the same as mine.