RE: extensions

From: Frank A. Christoph (christo@nextsolution.co.jp)
Date: Fri Jul 10 1998 - 04:13:06 MET DST


From: "Frank A. Christoph" <christo@nextsolution.co.jp>
To: <caml-list@inria.fr>, "Marc Rouaix" <rouaix@my-dejanews.com>
Subject: RE: extensions
Date: Fri, 10 Jul 1998 11:13:06 +0900

>Can ocaml be made to compile files with extensions other than .ml? I want
to >use both SML and ocaml and have Emacs go into the right mode based on
the file >extension (yes I know I can indicate the proper mode to Emacs by
putting >something in a comment).

Use the -impl option, e.g.,

  ocamlc -c -impl foo.caml

You can use -intf to compile interfaces too, but I bet you will have
problems unless interfaces end with .mli.

--FC



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:15 MET