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
3.10 and native profiling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-18 (07:54)
From: Peter Halacsy <peter@h...>
Subject: 3.10 and native profiling
i've installed 3.10 beta compiler (intel mac). But I can't use the  
native code profiling. I can't compile my code.

cat test.ml
let _ =
         let s = "hello" in
         let s2 = "world" in
         Printf.printf "%s, %s" s s2;

$ /usr/local/ocaml/10.0/bin/ocamlopt.opt -p test.ml
Cannot find file std_exit.p.cmx

But using the old compiler, everything works fine

$ /usr/local/ocaml/9.3/bin/ocamlopt.opt -p test.ml
$ ./a.out