Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Managing module names
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Fabrice Le Fessant <lefessan@p...>
Subject: ocamlc compiled in native code

I have just make a new little patch to ocaml-1.05 to compile ocamlc in
native code (ocamlopt could already be compiled to native code by
«make ocamlopt.opt» in the standard distribution).

The patch is located in http://www-sor.inria.fr/~lefessan/src/
(http://www-sor.inria.fr/~lefessan/src/patch.ocamlc.opt.gz)

Just apply the patch to the ocaml-1.05 distribution.

Then configure it, «make world», «make opt», «make ocamlopt.opt» and 
«make ocamlc.opt».

The new ocamlc compiler in native code is called «ocamlc.opt». You can
rename it to «ocamlc» if you want. Don't forget to copy «ocamlc.opt»
and «ocamlopt.opt» with other binaries as «make install» will not do
it.