X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?windows-1252?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject: Re: gfortran, lapack, and cygwin
Date: Tue, 01 Feb 2011 15:48:33 -0600
Lines: 29
Message-ID: <ii9v3k$j20$1@dough.gmane.org>
References: <C8FD652314C840A4B74BF3847CE030DB@MASTERSHAKE>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <C8FD652314C840A4B74BF3847CE030DB@MASTERSHAKE>
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

On 2/1/2011 3:41 PM, Timothy Sliwinski wrote:

[snip]
> $ gfortran test.for =96o test =96llapack
>=20
> And the error I receive is=20
>=20
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cann=
ot
> find
>  -llapack
> collect2: ld returned 1 exit status
>=20
> When I go to look for the lapack libraries, they are located in /lib/lapa=
ck
> and there is a file called cyglapack-0.dll along with a similarly titled
> BLAS DLL.=20

Try:

gfortran test.for =96o test -L/lib/lapack =96llapack

There is probably a /usr/doc/Cygwin/lapack.README or similar (with
version number or uppercase) that has some documentation.  I really
don't know since I don't use Fortran since school ;-)
--=20
Ren=E9 Berber



--
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

