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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <875387.45640.qm@web25006.mail.ukl.yahoo.com>
Date: Sat, 14 Mar 2009 06:17:19 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
To: cygwin AT cygwin DOT com, Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

--- Sab 14/3/09, Dave Korn  ha scritto:

> Da: Dave Korn=20
> Oggetto: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
> A: cygwin AT cygwin DOT com
> Data: Sabato 14 marzo 2009, 04:04
> Angelo Graziosi wrote:
> > Still continuing to test...
> >=20
> > Marco Atzeri wrote:
> >> if I had ./test_program I see the output on the
> screen but
> >>
> >> ./test_program > test_output
> >> leave test_output empty.
> >=20
> > If I build that tst case with:
> >=20
> > gfortran-4 test_program.F -o test_program
> >=20
> > then
> >=20
> > $ ./test_program.exe
> > SUCCESS
> >=20
> > $ ./test_program.exe > test_output
> >=20
> > $ cat test_output
> > SUCCESS
>=20
> =C2=A0 Hmm, doesn't work here.=C2=A0 1.5 or 1.7?=C2=A0 This
> is 1.7:
>=20
> admin AT ubik /tmp/fortran/hw
> $ cat hw.F
> =C2=A0 =C2=A0 =C2=A0 program main
> =C2=A0 =C2=A0 =C2=A0 WRITE(*,*)=C2=A0
> =C2=A0=C2=A0=C2=A0'SUCCESS'
> =C2=A0 =C2=A0 =C2=A0 end
>=20
> admin AT ubik /tmp/fortran/hw
> $ gfortran-4 hw.F -o test_program
>=20
> admin AT ubik /tmp/fortran/hw
> $ ./test_program.exe=C2=A0 > test_output
>=20
> admin AT ubik /tmp/fortran/hw
> $ cat test_output

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

is it possible that Cygwin-1.7 is fooled by the not like-C
standard output ?

"GFORTRAN_STDOUT_UNIT=E2=80=94Unit number for standard output

This environment variable can be used to select the unit number preconnecte=
d to standard output. This must be a positive integer. The default value is=
 6. "

http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/GFORTRAN_005fSTDOUT_005fUN=
IT.html#GFORTRAN_005fSTDOUT_005fUNIT

>=20
> =C2=A0 =C2=A0 cheers,
> =C2=A0 =C2=A0 =C2=A0 DaveK
>=20

Regards
Marco





--
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