R – fork with gcc on windows

cygwinforkgcc

I am using fork in my program on windows using gcc (cygwin). It runs fine on my system. but I want to run on other systems which dont have cygwin. How can I do that?

Best Solution

Your program requires the existence of cygwin1.dll on the target computer. One way to ensure this is to tell your users that at least a minimal installation of Cygwin is required. Another way is to distribute cygwin1.dll and any other related dll's in accordance with the terms of their licenses. The Cygwin FAQ has some useful information on this.