www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,TW_XV,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C0591E8.3020908@alice.it> |
Date: | Wed, 02 Jun 2010 01:04:08 +0200 |
From: | Angelo Graziosi <angelo DOT graziosi AT alice DOT it> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
MIME-Version: | 1.0 |
To: | Cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: Cygwin 1.7: how do I use gcc-4 and mingw (to replace -mno_cygwin)? |
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 |
Jim Reisert AD1C wrote: > What's the simplest migration path from "gcc -mno-cygwin" (gcc3) to > the equivalent in gcc4? Larry Hall wrote: > It's not ready yet. For now, as workaround, you could use Cygwin packages (Win32 or Win64) from[1]: http://sourceforge.net/projects/mingw-w64/files (GCC-4.6 snapshots) Usually, I unpack the tar-ball into /usr/local/mingw-w64 (tar -xvf ... -C /usr/local/mingw...) and then I create links in /usr/local/bin like this mingw32-gfortran -> /usr/local/mingw-w64/bin/i686-w64-mingw32-gfortran.exe So, one can use: $ mingw32-gfortran -O3 -Wall -mwindows ... f03fractal.f90 -o f03fractal32 or $ CC='mingw32-gfortran' make all... etc. Ciao, Angelo. --- [1] http://mingw-w64.sourceforge.net -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |