Search code examples
deploymentcygwinmingw

MinGW/Cygwin deploy to other computers?


Quick question: If I write a program in c++ and compile using cygwin/mingw, how can I get the binary to work on computers that does not have cygwin? In other words how can I deploy to PC without cygwin?

I tried to simply compile with cygwin but when run on other computers, a bunch dll are missing.


Solution

  • You need to ship the DLLs, obviously. However, depending on what you are doing you may not need Cygwin at all . So the question is, what are the DLLs that are missing, and what are you doing.