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
Compiling on Solaris 64 bit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-03 (22:02)
From: Dale Harris <rodmur@m...>
Subject: Compiling on Solaris 64 bit


I've been trying unsuccessfully to compile ocaml on a Solaris 9 system,
SunFire v880z, at 64 bits.  I'm trying to use the SUNWspro C compiler
with the "-fast -xarch=v9b" or just "-xarch=v9b" options.  I get the
following result:

cp yacc/ocamlyacc boot/ocamlyacc
cd stdlib; make COMPILER=../boot/ocamlc all
make[1]: Entering directory `/home/rodmur/src/ocaml/ocaml-3.07/stdlib'
../boot/ocamlrun ../boot/ocamlc -g -warn-error A -nostdlib -nopervasives
-c pervasives.mli
make[1]: *** [pervasives.cmi] Segmentation Fault (core dumped)
make[1]: Leaving directory `/home/rodmur/src/ocaml/ocaml-3.07/stdlib'
make: *** [coldstart] Error 2

Any suggestions on what I need to do to make this work?  How do I
compile a true 64-bit version of ocaml on Solaris 9?  BTW, I do get the
basically the same result if I try "gcc -m64"

ocaml version is 3.07
cc is Forte Developer 7 C 5.4 2002/03/09
gcc is 3.3.2

Dale Harris