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



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