Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Eclipse, Photran, Cygwin and Lapack

Ok, sorry to bother you all, but I solved the problem already. As a matter of fact it was a problem with the Cygwin installation.

When installing Cygwin, it is necessary to select ALL the lapack items.

Ricardo Santos

On Wed, Aug 15, 2012 at 12:02 PM, Mike Garrahan <mgarraha@xxxxxxxxx> wrote:
The linker probably takes the argument after -L as a directory where the
-l libraries may be found. For example, to link with
/usr/local/lib/libblas.a, specify -L/usr/local/lib -lblas. If Photran
generated the makefile, edit the project properties accordingly.

Mike Garrahan

On 08/15/2012 10:38 AM, Ricardo Santos wrote:
>    I am trying to compile a project using the lapack functions, but I get
> an error on the BLAS linking.
>
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lblas
>
> My make file is as follows:
> # [...]
>
> all: src/HelloFortran.f90
> $(FORTRAN_COMPILER) -O2 -g \
> -o bin/HelloFortran \
> src/HelloFortran.f90 -L -llapack -lblas

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


Back to the top