stand alone console app

Suhaib M. Siddiqi Ssiddiqi@InspirePharm.Com
Sun Feb 28 23:02:00 GMT 1999


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.r.haack@lmco.com>
To: 'cygwin@sourceware.cygnus.com' <cygwin@sourceware.cygnus.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
>
>




More information about the Cygwin mailing list