From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA17904; Thu, 26 Jun 2003 23:08:34 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA26903 for ; Thu, 26 Jun 2003 23:08:33 +0200 (MET DST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h5QL8Wj10283 for ; Thu, 26 Jun 2003 23:08:32 +0200 (MET DST) Received: from labrador.eecs.harvard.edu (labrador.eecs.harvard.edu [140.247.60.247]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 3668254C4D1 for ; Thu, 26 Jun 2003 17:08:32 -0400 (EDT) Received: by labrador.eecs.harvard.edu (Postfix, from userid 32074) id 0C04748DC; Thu, 26 Jun 2003 17:08:31 -0400 (EDT) To: caml-list@inria.fr Subject: [Caml-list] how to compile ocamlc.opt with profiling turned on? Message-Id: <20030626210831.0C04748DC@labrador.eecs.harvard.edu> Date: Thu, 26 Jun 2003 17:08:31 -0400 (EDT) From: nr@eecs.harvard.edu (Norman Ramsey) X-Spam: no; 0.00; ramsey:01 ocamlc:01 camlopt:01 -nostdlib:01 stdlib':01 compiler:01 profile:98 norman:01 compile:02 eecs:03 gprof:07 opt:09 U7:90 harvard:09 seem:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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? Norman ------------------- 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