| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4A2D26AC.8090004@gmail.com> |
| Date: | Mon, 08 Jun 2009 15:56:44 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [1.7] output redirection problems with gfortran |
| References: | <f79359b60906080628w3bb8c681x953ac94029067508 AT mail DOT gmail DOT com> |
| In-Reply-To: | <f79359b60906080628w3bb8c681x953ac94029067508@mail.gmail.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 |
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
> program testf
> write(6,*) 'testing a Fortran program'
> end program testf
>
> It is being compiled with:
>
> $ gfortran -O0 -fno-second-underscore -o testp testp.f
As 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
testing a Fortran program
admin AT ubik /tmp/fortran/2
$
cheers,
DaveK
--
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 |