delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/26/16:43:07

X-Spam-Check-By: sourceware.org
Message-ID: <46817A1E.ADB2C1C4@dessent.net>
Date: Tue, 26 Jun 2007 13:42:06 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: GCC 4.1.1
References: <C6EEDB0EB45A56439F73B1D23E39694A35C49B AT USORL02P702 DOT ww007 DOT siemens DOT net>
X-IsSubscribed: yes
Reply-To: 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

"Frederich, Eric P21322" wrote:

> I'm trying to get gcc on Cygwin to the same version that I use on Linux
> and Solaris (4.1.1).
> There is no "need" for this, but it would be nice to have all platforms
> I'm trying to support on the same version.

I'm really not sure why you're doing this, and especially why if you're going to
use a 4.x release you're using sucn an old one.  If anything, I'd use the 4.3
branch, since it contains a lot of things relevant to Cygwin like a modern
libtool.

Anyway, the 3.4 packaged version of gcc has a number of local fixes that aren't
upstream, so if you want a stable compiler then you should use this one, not a
FSF release.  You should know what these issues are and if they matter to you
before using a version of gcc built yourself.  If gcc4 was stable on Cygwin
there would be packages for it, it's not just a matter of nobody having time to
build them.

With that out of the way, it's possible to get -mno-cygwin working with gcc4
just fine, it shouldn't take any patches.  You'll of course have to build gcc
again as the MinGW version, and set up some symlinks.  See the postinstall of
the gcc package for details.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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