Date: Wed, 1 Sep 1999 15:24:07 +0100
From: William Chesters <firstname.lastname@example.org>
To: karine CHEVALIER-JABET <email@example.com>
Subject: interfacing FORTRAN/OCAML??
karine CHEVALIER-JABET writes:
> I would like to know if interfacing FORTRAN with OCAML is possible(OCAML
> calling FORTRAN)
One issue that comes up if you are running on a 32-bit RISC machine is
alignment of doubles (8-byte floats): if you link against code which
has been compiled to assume that they are all 8-byte aligned, and use
it directly on ocaml float arrays, you get bus errors because ocaml
(on 32-bit machines) only aligns to 4-byte boundaries. I have a patch
for ocaml which makes it align doubles on 8-byte boundaries.
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:25 MET