delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/28/16:04:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A241CEB.1E8EADA8@mail.bnv-bamberg.de>
Date: Tue, 28 Nov 2000 22:00:27 +0100
From: Michael Lemke <ba0571 AT chlothar DOT bnv-bamberg DOT de>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: g77 -mno-cygwin I/O problems in bash
References: <20001126214139 DOT 24472 DOT qmail AT web106 DOT yahoomail DOT com>


Earnie Boyd wrote:

> --- Michael Lemke <ba0571 AT mail DOT bnv-bamberg DOT de> wrote:
> > I've recently upgraded my b20 installation to the latest net release.  I am
> > really impressed.  Great job!
> >
> > Here's a problem though that wasn't there in the b20 release.  Consider this
> > simple prog:
> >
> > Work> cat test.f
> >         character string*20
> >         read( 5 , '(a)' ) string
> >         print *, string
> >         end
> >
> > If I compile this with
> >
> >    g77 -mno-cygwin test.f
> >
> > and run it in a bash window the program never reads the input
> > from the keyboard.  Run in a simple MS-DOS window the prog works
> > correctly.  The same also happens with READ(*,'(A)') ...
> > However,
> >
> >    echo otto | ./a
> >
> > does work in bash.
> >
> > Oh, to make Fortran work at all with mingw I copied libg2c.a from
> > Mumit Khan's site as that was the only mingw version I could find.
> > However, the stuff there does not seem to be the same that comes
> > with the net release in the /usr/lib/mingw directory.
> >
> > Any ideas?
> >
>
> As for the read problem, how is your CYGWIN environment variable set?  You
> can't communicate properly with non-Cygwin programs with tty mode set.

It isn't set at all.

>
>
> As for MinGW specific libraries, I will eventually get a round tuit.  The
> w32api and the mingw runtime are now released as separate packages from Cygwin
> and when the update happens the list will be informed.

Is there a way that I can compile the stuff myself?   I still don't see what I need to
to do so.   Plain gcc package won't do I suppose.

And how does mingw as it comes with the net release relate to what is
on www.mingw.org?  Are these separate projects?  I really find this
confusing.

What I really like to do is build executables *under cygwin* that run without
cygwin1.dll.  I am not really interested in having a gcc (executable) that works
without cygwin1.dll.


Thanks for any insight,
Michael



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019