From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15906 invoked by alias); 6 Mar 2003 05:19:20 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 15899 invoked from network); 6 Mar 2003 05:19:19 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by 172.16.49.205 with SMTP; 6 Mar 2003 05:19:19 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qnmJ-0005iN-00 for ; Thu, 06 Mar 2003 06:18:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gcc-help@gcc.gnu.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18qnmH-0005i5-00 for ; Thu, 06 Mar 2003 06:18:45 +0100 From: Oscar Fuentes Subject: Re: How to generate a standalone windows executable from gcc on cygwin? Date: Thu, 06 Mar 2003 05:19:00 -0000 Message-ID: References: <20030306051304.5405.qmail@web11401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org Cc: lewisstiller@yahoo.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-SW-Source: 2003-03/txt/msg00066.txt.bz2 none 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