[Top][All Lists]

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

Re: (OFF TOPIC?) vs. libatlas.a

From: Christoph Spiel
Subject: Re: (OFF TOPIC?) vs. libatlas.a
Date: Thu, 26 Apr 2001 20:07:57 +0200
User-agent: Mutt/1.2.5i

On Thu, Apr 26, 2001 at 06:45:16PM +0200, Stef Pillaert wrote:
> *Has someone a recipe on howto build dynamic libraries for atlas?
> (

I have not tried it yet, but I once got burned by compiling LAPACK and
BLAS for dynamic linking.

My mistake: inconsistent use of '-fpic' flag.  Resulting problem:
mysteriously failing routines, changed behavior when running under
debugger.  Solution: Compile _all_ functions in both libraries,
BLAS and LAPACK with '-fpic'.

So, I would suggest that you add the flag to the CCFLAGS, change
CLINKFLAGS, and adjust CLINKER in the ATLAS Makefile if necessary.

> And also for a dynamic lib with the changes that atlas
> provides?

See ATLAS/doc/LAPACK.txt, then follow hint above.

> *Has someone a recipe on how to compile octave with these dynamic
> libraries?

The compilation of Octave is irrelevant here.  Dynamic libraries are
- err - dynamically linked to an executable.  If they are installed
  correctly, they _will_ be used.


Christoph L. Spiel  <address@hidden>
Hammersmith Consulting,  web:
Phone: +49-8022-662908, fax: +49-8022-662909

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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