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 VAA24796; Tue, 1 Jul 2003 21:01:24 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA24815 for ; Tue, 1 Jul 2003 21:01:23 +0200 (MET DST) Received: from mwinf0104.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h61J1Mf13149 for ; Tue, 1 Jul 2003 21:01:22 +0200 (MET DST) Received: from zofo (Mix-Grenoble-110-2-195.w80-9.abo.wanadoo.fr [80.9.192.195]) by mwinf0104.wanadoo.fr (SMTP Server) with SMTP id 954211BFB3F4; Tue, 1 Jul 2003 21:01:21 +0200 (CEST) Message-ID: <01b601c34003$1e495db0$7f2bf9c1@zofo> From: "Jean-Baptiste Rouquier" To: "Jung Woon Ho" , References: Subject: Re: [Caml-list] linking caml files to C Date: Tue, 1 Jul 2003 20:50:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam: no; 0.00; caml-list:01 flags:01 ocamlc:01 -output-obj:01 mli:01 caml:01 -custom:01 linking:02 explanations:04 manual:07 i'm:07 U7:90 U6:88 cmi:13 trying:17 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Please read the manual. It gives good explanations and a complete example. You should use the option "-custom". Jean-Baptiste. *************************** Hi, Im trying to link caml files to the C files. I'm using this flags with the caml files. ----------------------------------------------------- %.$(O): %.ml $(OCAMLC) -c -output-obj -o $< %.cmi: %.mli $(OCAMLCI) -c -output-obj -o $< ------------------------------------------------------ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners