Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* autoconf input for ocaml applications
@ 2000-10-31 16:15 Jean-Christophe Filliatre
  2000-10-31 17:27 ` Michael Hicks
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe Filliatre @ 2000-10-31 16:15 UTC (permalink / raw)
  To: caml-list


Hello ocamlers,

I wrote an autoconf input  for ocaml applications that could be useful
for others. It is available here (together with a suggested Makefile):

    http://www.lri.fr/~filliatr/software.en.html

It checks for  ocaml compilers and tools and  determines the following
variables:

   OCAMLC        "ocamlc" if present in the path, or a failure;
                 or "ocamlc.opt" if present with same version number as ocamlc
   OCAMLOPT      "ocamlopt" (or "ocamlopt.opt" if present), or "no"
   OCAMLBEST     either "byte" if no native compiler was found, 
                 or "opt" otherwise
   OCAMLDEP      "ocamldep"
   OCAMLLEX      "ocamllex"
   OCAMLYACC     "ocamlyac"
   OCAMLLIB      the path to the ocaml standard library
   OCAMLVERSION  the ocaml version number

Then it  is easy  to write  a Makefile compiling  with the  best ocaml
compiler available without requiring the  user to specify which one it
is. (Similarly for installation issues.)

CREDITS: this  autoconf input was built  on one sent to  me by Georges
Mariano.

-- 
Jean-Christophe FILLIATRE
  mailto:Jean-Christophe.Filliatre@lri.fr
  http://www.lri.fr/~filliatr



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-02 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-31 16:15 autoconf input for ocaml applications Jean-Christophe Filliatre
2000-10-31 17:27 ` Michael Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox