delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/14/01:47:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BB5522.3010000@gmail.com>
Date: Sat, 14 Mar 2009 06:56:34 +0000
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: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
References: <875387 DOT 45640 DOT qm AT web25006 DOT mail DOT ukl DOT yahoo DOT com>
In-Reply-To: <875387.45640.qm@web25006.mail.ukl.yahoo.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

Marco Atzeri wrote:

> it seems a 1.7 specific fault. On cygwin 1.5 it works; I never checked
> before :-(

  Odd!  It fails for me on both.  (You did update gcc-4 on *both* your
installations, right?)

> is it possible that Cygwin-1.7 is fooled by the not like-C standard output
> ?
> 
> "GFORTRAN_STDOUT_UNIT—Unit number for standard output
> 
> This environment variable can be used to select the unit number
> preconnected to standard output. This must be a positive integer. The
> default value is 6. "

  I'm not sure.  From what I've studied so far of libgfortran/io, I think the
fortran "unit" numbers are mapped to, rather than directly equivalent to, unix
fds.  It might be a libgfortran bug, or it may even not; there could be some
interaction in the cygwin dll between DLL unload and stdio shutdown during the
exit sequence that fails to flush the stream properly, for example.  Still
investigating.

    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/

- Raw text -


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