[Numpy-discussion] building numpy with atlas on ubuntu edgy

Charles R Harris charlesr.harris at gmail.com
Thu Apr 19 00:20:20 EDT 2007


On 4/18/07, Robert Kern <robert.kern at gmail.com> wrote:
>
> Charles R Harris wrote:
> > I'm wondering if the static libraries could simply be compiled with the
> > -fPIC flag and linked with the program to produce the dynamic library.
> > The static libraries are just collections of *.o files, so I don't see
> > why that shouldn't work.
>
> I don't think there is a reason why it *wouldn't* work; it's just that one
> needs
> to do "gcc -shared" to make a .so and that flag also tells the linker to
> choose
> .so's over .a's for the libraries that get linked into the target .so.


The linker picks dynamic over static even without the -shared flag. I think
that putting the static libraries in their own directory *without* the
dynamic libraries might do the trick. Hmm... something to try.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070418/2659d0f1/attachment.html>


More information about the NumPy-Discussion mailing list