English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] how to compile ocamlc.opt with profiling turned on?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-06-26 (21:08)
From: nr@e...
Subject: [Caml-list] how to compile ocamlc.opt with profiling turned on?
Dear Camllists,

We're seeing some long compile times from ocamlc and ocamlc.opt.
I would like to try to identify in what part of the compiler the
time is being spent, so for the last hour I have been trying to
compile ocamlc.opt with 'ocamlopt -p' so that I can profile the compiler.
But I have not been able to figure out how to do this.

  make CAMLOPT='ocamlopt -p -nostdlib -I stdlib' opt.opt

does not seem to work.

Can anyone advise me how to build an ocamlc.opt that I can profile
with gprof?


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners