texane/stlink — pull request #77 by WinterMute (2012-05-14 14:55:00+00:00)
Title: Changes to allow compiling for windows using mingw toolchains

I've changed the build system to a basic autotools setup - this makes it much easier to support multiple platforms and cross compile from various hosts. This way we can build windows binaries on linux with a suitable cross compiler and it's much easier to produce fat binaries targeting various versions of OSX.

The rest of the changes consist mostly of wrapper functions which allow building windows binaries without polluting the main source tree with windowsisms too much. There are also some fixes for signedness and pointer type compatiblity warnings.

I've tested the new builds on 32/64bit linux (Debian squeeze) OSX 10.4 to 10.6 ppc/i386/x64_86 and 32/64bit Windows XP/Vista/7/8