caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus.mottl@gmail.com>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: Erick Matsen <matsen@berkeley.edu>, caml-list@inria.fr
Subject: Re: [Caml-list] problem with LACAML and static linking
Date: Wed, 28 Jan 2009 14:24:44 -0500	[thread overview]
Message-ID: <f8560b80901281124k31116f77y9c03f2f29f51dc1f@mail.gmail.com> (raw)
In-Reply-To: <4980AC8F.3010103@glondu.net>

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


      reply	other threads:[~2009-01-28 19:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28  6:48 Erick Matsen
2009-01-28  7:20 ` [Caml-list] " Stéphane Glondu
2009-01-28 17:17   ` Erick Matsen
2009-01-28 17:33     ` Mauricio Fernandez
2009-01-28 17:56       ` Erick Matsen
2009-01-28 18:49         ` Stéphane Glondu
2009-01-28 18:50           ` Erick Matsen
2009-01-28 19:05             ` Stéphane Glondu
2009-01-28 19:24               ` Markus Mottl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8560b80901281124k31116f77y9c03f2f29f51dc1f@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=matsen@berkeley.edu \
    --cc=steph@glondu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).