Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 25 Sep 2003 10:41:21 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Teun Burgers cc: cygwin AT cygwin DOT com Subject: Re: g77 -mno-cygwin failed In-Reply-To: <3F72F57B.1CD0D20B@ecn.nl> Message-ID: References: <3F72F57B DOT 1CD0D20B AT ecn DOT nl> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 25 Sep 2003, Teun Burgers wrote: > TX wrote: > > > Hi All > > G77 in the latest GCC-3.3.3-1 doesn't work: > > > > >g77 -mno-cygwin foo.f > > >g77: installation problem, cannot exec 'f771': No such file or > > directory > > > > Can anyone help? > > Compiling a Hello world fortran program with g77 -v reveals that > > g77 -v -o hello hello.f > > calls /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/f771.exe. (OK) > > g77 -v -mno-cygwin -o hello hello.f > > calls f771.exe and can't find f771.exe along the path. > A problem with the specs file? > > Teun "g77 -mno-cygwin" will most likely call /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the "gcc-mingw" package. Unfortunately, "gcc-mingw" uses a weird packaging scheme (a tarball inside a tarball), so you couldn't have used the package search page to find that out. Judging by the size of the tarball in the latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5 (2.1M), some files may be missing in the new version. It's likely f771.exe is one of them. If you have the latest "gcc-mingw" installed, "tar tf /etc/postinstall/gcc-mingw-3.3.1-20030804-1.tar | grep f77" should confirm or deny my guess. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/