This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran, lapack, and cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]