Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Native code compiler
@ 2000-08-25 20:22 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2000-08-25 20:22 UTC (permalink / raw)
  To: caml-list

Can someone please explain me why ocamlopt spends so much time compiling
one of examples in lablGL(and some of my code which was based on this
example)

---
[malc@oyster examples]$ time ocamlc.opt -labels -I /usr/lib/ocaml/labltk
-I /usr/lib/ocaml/lablGL labltk.cma lablgl.cma togl.cmo gears.ml 

real    0m1.957s
user    0m1.400s
sys     0m0.540s
[malc@oyster examples]$ time ocamlopt.opt -labels -I /usr/lib/ocaml/labltk
-I /usr/lib/ocaml/lablGL labltk.cmxa lablgl.cmxa togl.cmx gears.ml 

real    1m35.531s
user    1m31.760s
sys     0m0.800s

[malc@oyster examples]$ uname -a
Linux oyster 2.2.14-5.0 #5 Sat May 13 06:34:58 MSD 2000 i586 unknown

[malc@oyster examples]$ ocamlc -v
The Objective Caml compiler, version 3.00
Standard library directory: /usr/lib/ocaml
---

Im at the point where i can no longer afford bytecode(and if nothing else
id have to resort to C++, which is pretty disgusting idea), so any hints
will be greatly apreciated.

-- 
mailto:malc@pulsesoft.com



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-26  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-25 20:22 Native code compiler malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox