www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/01/17:46:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 1 Jun 2010 15:45:55 -0600
Message-ID: <AANLkTinHQ8BXaAn_19q_44xk7-pE4mVDXJB2USnwkWnT@mail.gmail.com>
Subject: Cygwin 1.7: how do I use gcc-4 and mingw (to replace -mno_cygwin)?
From: Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Since upgrading to Cygwin 1.7 eons ago, I lost the ability to compile
-mno_cygwin using gcc4.  I did find that I can still compile using
gcc3.

What's the simplest migration path from "gcc -mno-cygwin" (gcc3) to
the equivalent in gcc4?  I've seen this text:

  "For gcc-4, there'll be a separate MinGW cross compiler package,
which unfortunately isn't quite ready yet."

How would I use such a package in my Makefile, assuming it's ready for
Cygwin 1.7 now?

If it's NOT ready, I can continue to use gcc3 until I run into
something that's only supported in gcc4.  Considering the code I
write, it may never come to this.

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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