As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
simply change the names of the MS libraries to lib*.a (e.g. rename ddraw.lib to libddraw.a, and then don't forget to add the library search path with the -L option.)