[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (OFF TOPIC?) libatlas.so vs. libatlas.a
From: |
Stef Pillaert |
Subject: |
Re: (OFF TOPIC?) libatlas.so vs. libatlas.a |
Date: |
Fri, 27 Apr 2001 14:09:10 +0200 |
Thanks top all who replied. Maybe someone else can benefit from this, so
here's a summary of the steps to do:
*Create the atlas & lapack libraries as described in the INSTALL-instructions
that come with ATLAS. However, don't choose standard linux install (in make
config step), so you get the chance to add fPIC to the all the compiler flags.
*for every static library, extract all the .o files to a temporary directory:
ar -x libatlas.a
*put all these in a shared lib:
gcc -shared -Wl,-soname,libatlas.so -o libatlas.so *.o
*put this lib in the right place
I remember trying this on earlier versions of octave(2.1.29?), but only now I
succeeded. Did something change in 2.1.34? (Or maybe the lapack-libs in
RedHat are compiled in another way now?) Anyway, it works great now, thanks!
Stef.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------