Browse thread
convenient features
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David.Mentre@i... |
| Subject: | Re: convenient features |
David Chemouil <David.Chemouil@enseeiht.fr> 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.