Reference a GNU C DLL built in GCC against Cygwin, from C#/NET
- by Dale Halliwell
Here is what I want: I have a huge legacy C/C++ codebase written for POSIX, including some very POSIX specific stuff like pthreads. This can be compiled on Cygwin/GCC and run as an executable under Windows with the Cygwin DLL.
What I would like to do is build the codebase itself into a Windows DLL that I can then reference from C# and write a…