X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A05ADEE.9080200@gmail.com> Date: Sat, 09 May 2009 17:23:10 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: print on cygwin command window with gfortran? References: <23447933 DOT post AT talk DOT nabble DOT com> In-Reply-To: <23447933.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/