X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BG
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <jgrtto$7g5$1@dough.gmane.org>
References: <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A@mail.gmail.com>	<1328569526.8848.3.camel@YAAKOV04>	<jgrik0$6k3$1@dough.gmane.org>	<4F315473.8070106@gmail.com>	<jgrtto$7g5$1@dough.gmane.org>
Date: Tue, 7 Feb 2012 14:44:09 -0500
Message-ID: <CAGHJv4fw5XvYha0mb-R9qQCoaNdXBVBsdsN1VvsE8tL_WT_jGA@mail.gmail.com>
Subject: Re: Documentation on -mno-cygwin Accuracy
From: Chris Sutcliffe <ir0nh34d@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q17Jia3q019024

On 6 February 2012 14:29, Charles D. Russell wrote:
> cdr@dell03 ~/mingtest
> $ make hello
> i686-w64-mingw32-gfortran.exe    hello.f   -o hello
>
> cdr@dell03 ~/mingtest
> $ ./hello
> /home/cdr/mingtest/hello.exe: error while loading shared libraries:
> libgfortran-
> 3.dll: cannot open shared object file: No such file or directory

Likely because /usr/i686-w64-mingw32/sys-root/mingw/bin is not in your
$PATH.  You can either compile it statically (so the shared library is
not required), add the path I mentioned to your $PATH, or copy
libgfortran-3.dll to the same path as hello.exe.

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


