delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/04/00:53:37

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 <khan AT xraylith DOT wisc DOT edu>
To: "Haack, Bradley R" <bradley DOT r DOT haack AT lmco DOT com>
cc: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: stand alone console app
In-Reply-To: <98B98E951BA0D1119A590000F8045A477559C8@emss02m05.ems.lmco.com>
Message-ID: <Pine.SUN.3.93.990203185218.3900B-100000@modi.xraylith.wisc.edu>
MIME-Version: 1.0

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019