From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA30164 for caml-redistribution; Wed, 29 Jul 1998 22:51:23 +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 VAA06015 for ; Wed, 29 Jul 1998 21:34:06 +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.7) with ESMTP id VAA06156 for ; Wed, 29 Jul 1998 21:34:04 +0200 (MET DST) Received: from toy.william.bogus (williamc@dialup-121.publab.ed.ac.uk [129.215.38.121]) by postbox.dai.ed.ac.uk (8.8.7/8.8.7) with ESMTP id UAA11708 for ; Wed, 29 Jul 1998 20:34:03 +0100 (BST) Received: (from williamc@localhost) by toy.william.bogus (8.8.7/8.8.7) id UAA00865; Wed, 29 Jul 1998 20:33:40 +0100 Date: Wed, 29 Jul 1998 20:33:40 +0100 Message-Id: <199807291933.UAA00865@toy.william.bogus> From: William Chesters MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: caml-list@inria.fr Subject: ocaml -> Fortran X-Mailer: VM 6.34 under Emacs 20.2.1 Sender: weis Travis C. Porco wrote: > > If you find out, please let me know. Anything that can help reduce > the entry barrier for us newbies is very welcome. Travis wanted to know how to use Fortran libraries with ocaml or SML/NJ. I've knocked together a documented example of using lapack to invert a matrix---see http://www.dai.ed.ac.uk/students/williamc/ocaml-fortran/ The explanation is in README, and example.tar.gz has everything tarred up for downloading. It works on Solaris and Linux (at least), but note that I've used GNU Make. And of course the ocaml docs on foreign functions: http://pauillac.inria.fr/ocaml/htmlman/node15.html