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: Mauricio Fernandez <mfp@a...>
Subject: Re: [Caml-list] problem with LACAML and static linking
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