delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/22/07:09:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <006001c20181$f06ba2b0$20c513ac@infotechenterprises.com>
Reply-To: "Rajini" <rajini AT infotech DOT stph DOT net>
From: "Rajini" <rajini AT infotech DOT stph DOT net>
To: <cygwin AT cygwin DOT com>
Subject: help needed
Date: Wed, 22 May 2002 16:45:11 +0530
Organization: Infotech
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

Hello,

I am using cygwin on my Windows NT system and facing a problem. I have an
application which opens the terminal as file and writes and read to the
terminal. The source code is in Fortran which opens the file with name
specified as value returned by utility 'tty' i.e is terminal name. For this
very reason I download the cygwin for internet. The problem, I am now facing
is that if I compile and build the executable with the 'g77' compiler
supplied with cygwin, the application works i.e. the application opens the
terminal as file and reads and writes to the terminal. But if I compile and
build the application using 'Compaq Visual Fortran Optimizing Compiler
Version 6.1', the application does not write and read to terminal, instead
it writes and tries to read from a file '/dev/conin'. The is beacuse 'tty'
utility of cygwin returns this value and therefore application opens a file
named as 'conin' under the 'dev' folder of current working drive. This is
not the case if the application is built using the 'g77' compiler available
with cygwin.

Kindly, let as know how can we work out a solution for this as we have to
build the application using the
'Compaq Visual Fortran Optimizing Compiler Version 6.1' which is available
with Visual Studio from Microsoft.

With Regards,
Rajini
Nitin.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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