From: Mauricio Fernandez <mfp@acm.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] problem with LACAML and static linking
Date: Wed, 28 Jan 2009 18:33:05 +0100 [thread overview]
Message-ID: <20090128173305.GJ25469@NANA.localdomain> (raw)
In-Reply-To: <243054520901280917i24c079e5nd36455403ee0fc81@mail.gmail.com>
On Wed, Jan 28, 2009 at 09:17:56AM -0800, Erick Matsen wrote:
> Here is my compile line
>
> ocamlopt \
>
> # source directories:
> -I /home/matsen/ocaml/bio/ -I /home/matsen/ocaml/common/ -I
> /usr/lib/ocaml/3.10.2/pcre/ -I /usr/lib/ocaml/3.10.2/glpk/ -I
> /usr/lib/ocaml/3.10.2/gsl/ -I /usr/lib/ocaml/3.10.2/lacaml/ -I
> /usr/lib/gcc/i486-linux-gnu/4.3/ \
>
> # cc directives
> -ccopt -static -ccopt -lgfortran -ccopt
I think you need -cclib here (just did s/cclib/ccopt/ with some code of mine
and got undefined refs...).
--
Mauricio Fernandez - http://eigenclass.org
next prev parent reply other threads:[~2009-01-28 17:33 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 [this message]
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
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=20090128173305.GJ25469@NANA.localdomain \
--to=mfp@acm.org \
--cc=caml-list@inria.fr \
/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