How can I convert a VSTS .lib to a MinGW .a?

Viewed 15030

I have a static library compiled with Visual Studio and I want to link to it from MinGW.

I tried changing the suffix but I get a bunch of warnings like: Warning: .drectve /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized.

Also a few errors including: ./libetpan.a(Release_ssl/mailimap.obj):(.text[_mailimap_noop]+0x7): undefined reference to___security_cookie'`.

Any help is greatly appreciated.

2 Answers
Related