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 OAA18361 for caml-redistribution; Tue, 31 Aug 1999 14:19:28 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA07923 for ; Mon, 30 Aug 1999 21:25:25 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id VAA29886; Mon, 30 Aug 1999 21:25:23 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA08513; Mon, 30 Aug 1999 21:25:22 +0200 (MET DST) Message-ID: <19990830212522.43285@pauillac.inria.fr> Date: Mon, 30 Aug 1999 21:25:22 +0200 From: Xavier Leroy To: karine CHEVALIER-JABET , caml-list@inria.fr Subject: Re: interfacing FORTRAN/OCAML?? References: <37CA7F0C.5ABA5136@baobab1.cad.cea.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <37CA7F0C.5ABA5136@baobab1.cad.cea.fr>; from karine CHEVALIER-JABET on Mon, Aug 30, 1999 at 02:54:36PM +0200 Sender: weis > I would like to know if interfacing FORTRAN with OCAML is possible(OCAML > calling FORTRAN) ; I read it for C, but didn t see for Fortran. Does it > mean I shoud call fortran with C then C with OCAML? Yes, that's the basic idea. Most Fortran compilers (except perhaps some Fortran 9x stuff) have a pretty straightforward interface with C, so it's not as bad as it sounds. Several of your colleagues at CEA have significant experience on interfacing Fortran libraries with Caml code. You can look on the archives of the Caml mailing list (http://caml.inria.fr/bin/msearch/caml-list) for previous discussions on this topic. All the best, - Xavier Leroy