stand alone console app

Mumit Khan khan@xraylith.wisc.edu
Wed Feb 3 16:53:00 GMT 1999


On Wed, 3 Feb 1999, Haack, Bradley R wrote:

> I would like to build a simple stand alone console program which will run
> with out the cygnus dll.  How do I do it?  If I compile and link with "gcc
> -g -o prog.exe prog.c" and try to run on a different computer I get an error
> that says I need cygwin1.dll.

Static linking is not possible with Cygwin. Neither is it possible with
Mingw32, but the advantage there is that the appropriate runtime is already
on all the Win9x/NT machines (CRTDLL.DLL).

Regards,
Mumit



More information about the Cygwin mailing list