From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA05141; Mon, 23 Apr 2001 13:50:47 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA05061 for caml-list@pauillac.inria.fr; Mon, 23 Apr 2001 13:50:46 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA03082 for ; Mon, 23 Apr 2001 11:33:48 +0200 (MET DST) Received: from hermes.univ-evry.fr (hermes.univ-evry.fr [194.199.90.32]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f3N9Xlf24967 for ; Mon, 23 Apr 2001 11:33:47 +0200 (MET DST) Received: from ns.info.lami.univ-evry.fr (taillefer.lami.univ-evry.fr [194.199.85.93]) by hermes.univ-evry.fr (8.9.3+Sun/jtpda-5.3.3) with ESMTP id LAA15023 for ; Mon, 23 Apr 2001 11:34:50 +0200 (MET DST) Received: from lami.univ-evry.fr (bio1.info.lami.univ-evry.fr [192.168.0.9]) by ns.info.lami.univ-evry.fr with ESMTP (8.9.3/980318/980610/lami); id LAA01659; Mon, 23 Apr 2001 11:33:46 +0200 Message-ID: <3AE3F6FA.92E33DC0@lami.univ-evry.fr> Date: Mon, 23 Apr 2001 11:33:46 +0200 From: Franck Delaplace Organization: BioInfo Team , LaMI EVE (UMR 8042 CNRS) X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17dhcpaha2940 i686) X-Accept-Language: en MIME-Version: 1.0 To: OCAML Subject: [Caml-list] HELP on -a options for ocamlopt Content-Type: multipart/mixed; boundary="------------13779CD185B29DC723DE6E4C" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a multi-part message in MIME format. --------------13779CD185B29DC723DE6E4C Content-Type: multipart/alternative; boundary="------------AD5646184CA79044BF92E86C" --------------AD5646184CA79044BF92E86C Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable I try to built a library which contains several modules. ocamlopt -a -o lib t1.cmx t2.cmx t3.cmx then I copy lib.cmxa , lib.a and test.ml in another directory when I compile ocamlopt -o test lib.cmxa -cclib -llib test.ml I have the following error message ** Unbound module t1 Can somebody help me to understand how to built a portable library Thank you -- Franck Delaplace @w3:http://www.lami.univ-evry.fr/~delapla/ Equipe BioInfo, La.M.I-U.M.R 8042 C.N.R.S Universit=E9 d'Evry Val d'Essonne Bd Fran=E7ois Mitterand 91025 Evry CEDEX (France) --------------AD5646184CA79044BF92E86C Content-Type: text/html; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable I try to built a library which contains several modules.
ocamlopt -a  -o lib  t1.cmx t2.cmx t3.cmx

then I copy  lib.cmxa , lib.a and test.ml in another directory

when I  compile  ocamlopt  -o test  lib.cmxa = -cclib -llib test.ml

I have the following error message

** Unbound module t1

Can somebody help me  to understand how to built a portable libra= ry

Thank you

-- 
Franck Delaplace @w3:h=
ttp://www.lami.univ-evry.fr/~delapla/
Equipe BioInfo, La.M.I-U.M.R 8042 C.N.R.S
Universit=E9 d'Evry Val d'Essonne    
Bd Fran=E7ois Mitterand        &n=
bsp;
91025 Evry CEDEX (France)
  --------------AD5646184CA79044BF92E86C-- --------------13779CD185B29DC723DE6E4C Content-Type: text/x-vcard; charset=iso-8859-2; name="delapla.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Franck Delaplace Content-Disposition: attachment; filename="delapla.vcf" begin:vcard n:Delaplace;Franck tel;work:01 69 47 74 78 x-mozilla-html:TRUE url:http://www.lami.univ-evry.fr/~delapla/ org:LaMI UMR 8042 CNRS;BioInfo team version:2.1 email;internet:delapla@lami.univ-evry.fr adr;quoted-printable:;;Universit=E9 d'Evry Val d'Essonnes=0D=0ABd Francois Mitterrand;Evry;Essonnes;91025;France x-mozilla-cpt:;-704 fn:Delaplace Franck end:vcard --------------13779CD185B29DC723DE6E4C-- ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr