From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA00767 for caml-redistribution; Mon, 20 Apr 1998 16:13:08 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA29760 for ; Fri, 17 Apr 1998 19:17:50 +0200 (MET DST) Received: from postbox.dai.ed.ac.uk (postbox.dai.ed.ac.uk [129.215.41.196]) by nez-perce.inria.fr (8.8.7/8.8.5) with ESMTP id TAA00645 for ; Fri, 17 Apr 1998 19:17:48 +0200 (MET DST) Received: from jupiter (jupiter.dai.ed.ac.uk [129.215.41.30]) by postbox.dai.ed.ac.uk (8.8.7/8.8.7) with SMTP id SAA06760 for ; Fri, 17 Apr 1998 18:17:47 +0100 (BST) Date: Fri, 17 Apr 1998 18:17:46 +0100 Message-Id: <20432.199804171717@jupiter> From: William Chesters MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable To: caml-list@inria.fr Subject: `double' alignment in ocamlopt X-Mailer: VM 6.22 under Emacs 19.34.1 Sender: weis Would it be easy to modify ocamlopt so that it put "float array"s on an 8-byte boundary? If I want to use Fortran libraries like lapack with ocamlopt on a Sparc I have to copy them before giving them to the Fortran code, or else get a bus error. I know the docs don't promise that you can access doubles direct but it would be very nice. [please don't read this bit ... :)] Serait-il facile de modifier ocamlopt afin qu'il poserait les "float array"s sur une adresse XXX0 ou XXX8? Si je veux utilitiser les libraries Fortran (par exemple, lapack) avec ocamlopt sur un CPU sparc, je dois copier tous mes "float array"s avant de les donner à lapack. Sinon ... "bus error".