micro wish: ocamlfat

From: Basile STARYNKEVITCH (basile.starynkevitch@cea.fr)
Date: Tue Sep 22 1998 - 13:12:27 MET DST


From: Basile STARYNKEVITCH <basile.starynkevitch@cea.fr>
Date: Tue, 22 Sep 1998 13:12:27 +0200 (CEST)
To: caml-list@inria.fr
Subject: micro wish: ocamlfat

Hello,

I have a small cosmetic wish regarding ocaml (actually its
makefile). I would like that the standard distribution build a fat
interactive interpreter (ie the ocaml executable) containing all (or
as much as possible) of the otherlibs contained in the distributions.

In other words, some people complain that the ocaml command does not
accept Unix.stat for instance. Yes, I know do know that every ocaml
user does not run Unix.

And I do know the answer: adding something like

ocamlfat: ocaml
        ocamlmktop -o ocamlfat unix.cma nums.cma str.cma graphics.cma \
-cclib -lunix -cclib -lnums -cclib -lstr -cclib -lgraphics -cclib \
-L/usr/X11/lib -cclib -X11 -custom

in the Makefile

This is just a suggestion. Perhaps adding the threads library would be
also good, but it might have its annoyance too!

N.B. Any opinions expressed here are onely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

---------------------------------------------------------------------
Basile STARYNKEVITCH ---- Commissariat Ó l Energie Atomique
DRN/DMT/SYSCO * CEA/Saclay bat.460 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 1,69.08.96.96; phone: 1,69.08.40.66; home: 1,46.65.45.53
email: Basile point Starynkevitch at cea point fr
I speak french, english, russian. Je parle franšais, anglais, russe.



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