avd
avd

Reputation: 14451

fork with gcc on windows

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?

Upvotes: 0

Views: 894

Answers (1)

Sinan Ünür
Sinan Ünür

Reputation: 118166

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.

Upvotes: 4

Related Questions