Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: David.Mentre@irisa.fr (David Mentré)
To: David Chemouil <David.Chemouil@enseeiht.fr>
Cc: caml-list@inria.fr
Subject: Re: convenient features
Date: 29 Jun 2000 10:55:23 +0200	[thread overview]
Message-ID: <wd8ya3o6f44.fsf@parate.irisa.fr> (raw)
In-Reply-To: David Chemouil's message of "Wed, 28 Jun 2000 11:44:54 +0200"

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.



  parent reply	other threads:[~2000-06-29 17:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-28  9:44 David Chemouil
2000-06-28 17:09 ` David Brown
2000-06-28 17:29 ` Markus Mottl
2000-06-29 16:57   ` Pierre Weis
2000-06-30  9:22     ` Christophe Raffalli
2000-06-30 18:10       ` Jean-Christophe Filliatre
2000-06-29  8:55 ` David Mentré [this message]
2000-06-29  9:19 ` Daniel de Rauglaudre
2000-06-30  0:42   ` Max Skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wd8ya3o6f44.fsf@parate.irisa.fr \
    --to=david.mentre@irisa.fr \
    --cc=David.Chemouil@enseeiht.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox