Reputation: 3371
Is it possible to link a static library built with VS2005 into an application that is to be built with gcc (in Cygwin)?
Upvotes: 1
Views: 505
Reputation: 3962
I used to link a *.dll in G++ which compiled with a *.lib, It works well currently, but I'm not sure about static library, May be you can compiled it in dll for a try. Good luck.
Upvotes: 0
Reputation: 20037
Unlike UNIX where there was no standard C++ ABI for years, Windows has had a standard C++ ABI from the beginning. So, yes, it's possible. But it can be difficult.
Upvotes: 2