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

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
Message-ID: <000401be4fd8$de880920$063b4ec6@hunda>
From: "Suhaib M. Siddiqi" <Ssiddiqi AT InspirePharm DOT Com>
To: "Haack, Bradley R" <bradley DOT r DOT haack AT lmco DOT com>
Cc: "cygwin" <gnu-win32 AT cygnus DOT com>
Subject: Re: stand alone console app
Date: Wed, 3 Feb 1999 19:54:05 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

gcc -g -o prog.exe prog.c
instead of this line, use the folliwng:

gcc -g -o -mno-cygwin prog.exe prog.c

Read the FAQ at the Cygnus website, please.

Suhaib


-----Original Message-----
From: Haack, Bradley R <bradley DOT r DOT haack AT lmco DOT com>
To: 'cygwin AT sourceware DOT cygnus DOT com' <cygwin AT sourceware DOT cygnus DOT com>
Date: Wednesday, February 03, 1999 6:47 PM
Subject: stand alone console app


>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.
>Thanks
>Brad Haack
>
>


- Raw text -


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