Browse thread
[Caml-list] OCaml on sparc64
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | John Carr <jfc@M...> |
| Subject: | Re: [Caml-list] OCaml on sparc64 |
>On a related note: has anybody successfully installed ocaml on the >following two types of architectures: > >2. Sun Ultrasparc II machines with Solaris 8? Yes. Some versions of the Sun C compiler generate bad code for the ocaml runtime at optimization -xO3 and higher; since -O alone means -xO2 this won't be a problem unless you change the default flags. I will soon submit some minor code generation improvements for SPARC to the ocaml maintainers; the SPARC support was written with old (early 1990s) SPARC hardware in mind and there are a few things that should be done differently for UltraSPARC. I also have patches to generate 64 bit code for UltraSPARC: http://www.mit.edu/~jfc/ocaml-sparc64.tar.gz However, because 64 bit code doubles memory use for all objects other than strings and floats, you should use standard 32 bit mode unless you want (1) fast floating point, (2) big objects or a big address space, or (3) larger native integers. John Carr jfc@mit.edu ------------------- 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