www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_40,J_CHICKENPOX_53,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4A2D26AC.8090004@gmail.com> |
References: | <f79359b60906080628w3bb8c681x953ac94029067508 AT mail DOT gmail DOT com> <4A2D26AC DOT 8090004 AT gmail DOT com> |
From: | Gustavo Seabra <gustavo DOT seabra AT gmail DOT com> |
Date: | Mon, 8 Jun 2009 12:48:51 -0400 |
Message-ID: | <f79359b60906080948m1d63a76co5de2216b92d63630@mail.gmail.com> |
Subject: | Re: [1.7] output redirection problems with gfortran |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Mon, Jun 8, 2009 at 10:56 AM, Dave Korn<dave DOT korn DOT cygwin AT googlemail DOT com> wrote: > Gustavo Seabra wrote: >> Hi All, >> >> I'm having a strange problem with gfortran here. I am trying to run a >> simple configure program, but it chokes on the fortran compilation. >> The test program it uses is very simple: >> >> $ cat testp.f >> =A0 =A0 =A0 program testf >> =A0 =A0 =A0 write(6,*) 'testing a Fortran program' >> =A0 =A0 =A0 end program testf >> >> It is being compiled with: >> >> $ gfortran -O0 -fno-second-underscore -o testp testp.f > > =A0As Marco says, known problem with libgfortran DLL at the moment; as a > workaround, use static linking: > > $ gfortran -O0 -fno-second-underscore -o testp testp.f -static > > admin AT ubik /tmp/fortran/2 > $ ./testp 2>&1 | tee testp.out > =A0testing a Fortran program > > admin AT ubik /tmp/fortran/2 > $ > > =A0 =A0cheers, > =A0 =A0 =A0DaveK > That works. Thanks! --=20 Gustavo Seabra Postdoctoral Associate Quantum Theory Project - University of Florida Gainesville - Florida - USA ---------------------------------------------------------------------------= ---------------- Q: Why do mountain climbers rope themselves together? A: To prevent the sensible ones from going home. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |