Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
micro wish: ocamlfat
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1998-09-22 (14:40)
From: Basile STARYNKEVITCH <basile.starynkevitch@c...>
Subject: micro wish: ocamlfat

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,; phone: 1,; home: 1,
email: Basile point Starynkevitch at cea point fr 
I speak french, english, russian. Je parle français, anglais, russe.