Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Wed, 3 Feb 1999 18:53:27 -0600 (CST) From: Mumit Khan To: "Haack, Bradley R" cc: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Re: stand alone console app In-Reply-To: <98B98E951BA0D1119A590000F8045A477559C8@emss02m05.ems.lmco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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