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: print on cygwin command window with gfortran?


Gus K wrote:
> I use gfortran on cygwin and i want to print in the command window (like it
> prints in windows)
> i use the usual stuff:
> 
> WRITE(6,*) 'Give a number:'
> 
> or
> 
> PRINT(6,*) 'Give a number:'
> 
> but the execution completes without any printing..
> 
> What is wrong?

  It's a problem with libgfortran as a DLL.  For now, please use static
linking; add "-static -static-libgcc" to your linker flags / command-line.

    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/


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