This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to generate a standalone windows executable from gcc on cygwin?
- From: Oscar Fuentes <ofv at wanadoo dot es>
- To: gcc-help at gcc dot gnu dot org
- Cc: lewisstiller at yahoo dot com
- Date: 06 Mar 2003 06:19:23 +0100
- Subject: Re: How to generate a standalone windows executable from gcc on cygwin?
- References: <20030306051304.5405.qmail@web11401.mail.yahoo.com>
none <lewisstiller at yahoo dot com> writes:
> I am using gcc 3.2 20020927 on Cygwin on Win2K
> (actually g++). The code uses only standard file I/O
> in stdio.h and some other C standard libraries. How do
> I generate a standalone executable that would run on
> someone else's Win XP system who does not have cygwin
> installed himself?
try passing --mno-cygwin to the compiler and linker or just go to
www.ming.org and download a gcc that always produces native win32
applications.
--
Oscar