The easiest workaround I can think of is compiling it with gas on the Unix end and then convert it with objcopy. Does someone know what libbfd/objcopy target should be used to produce MSVC obj-files? Something matching .*(coff|pe).* I suppose, but nothing stands out as obviosly correct in the target list.