This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gfortran, lapack, and cygwin
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 01 Feb 2011 15:48:33 -0600
- Subject: Re: gfortran, lapack, and cygwin
- References: <C8FD652314C840A4B74BF3847CE030DB@MASTERSHAKE>
On 2/1/2011 3:41 PM, Timothy Sliwinski wrote:
[snip]
> $ gfortran test.for –o test –llapack
>
> And the error I receive is
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find
> -llapack
> collect2: ld returned 1 exit status
>
> When I go to look for the lapack libraries, they are located in /lib/lapack
> and there is a file called cyglapack-0.dll along with a similarly titled
> BLAS DLL.
Try:
gfortran test.for –o test -L/lib/lapack –llapack
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 ;-)
--
René 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