Version française
Home     About     Download     Resources     Contact us    
Browse thread
problem with LACAML and static linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] problem with LACAML and static linking
On Wed, Jan 28, 2009 at 2:05 PM, Stéphane Glondu <steph@glondu.net> wrote:
> Oh... I overlooked this one. You have to manage to get a set of .a files
> so that each object (.o) is there only once. In this case, I would drop
> libblas.a, since it is a dependency of liblapack (AFAIU).

Another thing you could do is to copy one of the static libraries to
your build directory, remove the offending symbol using the "ar"
command line tool, and then link the resulting library and the other
one statically into your executable.  Dirty, but what you're gonna
do...

Regards,
Markus

-- 
Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com