delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/15:00:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 31 Jan 2003 15:00:44 -0500
From: Christopher Faylor <cgf-noreply AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gcc as strictly win32 compiler
Message-ID: <20030131200044.GA8146@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <FDECLHJMAMOFIIEJDDLCMEBCCAAA DOT smcbride AT jvbfinancial DOT com> <013801c2c95e$9ddbed20$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <013801c2c95e$9ddbed20$78d96f83@pomello>
User-Agent: Mutt/1.5.1i

On Fri, Jan 31, 2003 at 07:26:12PM -0000, Max Bowsher wrote:
>If you are not using any of the unix APIs, you may be interested in the
>MinGW project (mingw.sf.net). Cygwin's gcc takes the -mno-cygwin option
>which causes it to function as a MinGW compiler - i.e. the produced exes use
>MSVCRT, not cygwin1.dll.

And as a fish teaching exercise, you might be interested in the command:

gcc -v --help 2>&1 | less

which tells you about -mno-cygwin among other things.

Also, perhaps more importantly, the FAQ has a section entitled "How do I
compile a Win32 executable that doesn't use Cygwin?"

cgf
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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