This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: stand alone console app
- To: "Haack, Bradley R" <bradley.r.haack@lmco.com>
- Subject: Re: stand alone console app
- From: Mumit Khan <khan@xraylith.wisc.edu>
- Date: Wed, 3 Feb 1999 18:53:27 -0600 (CST)
- cc: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-Reply-To: <98B98E951BA0D1119A590000F8045A477559C8@emss02m05.ems.lmco.com>
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
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