Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OCaml on sparc64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-14 (00:48)
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?


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:

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
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: