This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gfortran, lapack, and cygwin
- From: "Timothy Sliwinski" <zensunnioracle at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 1 Feb 2011 16:41:27 -0500
- Subject: gfortran, lapack, and cygwin
Greetings all,
I am having a particularly hard time getting lapack, gfortran and cygwin to
play nice. I installed the lapack packages under the math section of
setup.exe, however, when I go to use them with gfortran, I get errors saying
gfortran can?t find the libraries.
I am using the following command for my compilation:
$ 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.
In the end, I am at a loss as to how to use lapack with gfortran in cygwin
after installing it.
Did I miss something easy or am I just doing this completely wrong?
Thanks in advance!
-Tim
--
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