help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

order of libraries in Makefiles


From: Sergei Steshenko
Subject: order of libraries in Makefiles
Date: Mon, 1 Aug 2011 09:40:35 -0700 (PDT)

Hello,

(maybe I've already asked this question)

I see in Makefiles this:

"
octave-3.4.2/test/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/libcruft/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/libgnu/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/scripts/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/examples/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/refcard/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/icons/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/interpreter/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/faq/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/liboctave/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/doc/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/liboctave/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/src/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
octave-3.4.2/Makefile:BLAS_LIBS = -lcblas -lf77blas -latlas
:,

i.e. 'atlas' is last.

Shouldn't it be first ? I mean, first the linker is supposed to find
the accelerated implementation in 'atlas', and if unsuccessful, to look
for the implementation blas/lapack.

Thanks,
  Sergei.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]