From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA16912 for caml-red; Thu, 29 Jun 2000 19:00:30 +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 KAA16691 for ; Thu, 29 Jun 2000 10:55:30 +0200 (MET DST) Received: from air.irisa.fr (air.irisa.fr [131.254.60.130]) by concorde.inria.fr (8.10.0/8.10.0) with ESMTP id e5T8tO508480 for ; Thu, 29 Jun 2000 10:55:24 +0200 (MET DST) Received: from parate.irisa.fr (parate.irisa.fr [131.254.12.25]) by air.irisa.fr (8.9.3/8.9.3) with ESMTP id KAA08048; Thu, 29 Jun 2000 10:55:23 +0200 (MET DST) To: David Chemouil Cc: caml-list@inria.fr Subject: Re: convenient features References: <3959C916.D1A3BDFD@enseeiht.fr> From: David.Mentre@irisa.fr (David=?iso-8859-1?q?_Mentr=E9?=) Date: 29 Jun 2000 10:55:23 +0200 In-Reply-To: David Chemouil's message of "Wed, 28 Jun 2000 11:44:54 +0200" Message-ID: User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: weis@pauillac.inria.fr David Chemouil writes: > 1. One thing that really bothers me is the obligation to put object > files in the good order, when linking them. ocamldep is your friend (included in the standard distribution). Have a look at the following makefile to see how to use it: http://caml.inria.fr/FAQ/Makefile_ocaml-eng.html Otherwise, there is also OCaml Make from Markus (i've never used it): http://miss.wu-wien.ac.at/~mottl/ocaml_sources/intro.html > 2. [...] So it must be possible to remove the '-thread' option, and > have the compiler guess that the program is multithreaded when it sees > 'threads.cm[x]a' on the command line. I think this option is due to separate compilation. You may compile a file in reentrant mode (aka multi-threaded) without doing the link phase (with the threads.cm[x]a library). Best regards, david -- David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/ Opinions expressed here are only mine.