This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2


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

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

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

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

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

> 
> Â Â cheers,
> Â Â Â DaveK
> 

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]